kEntrypointElementId: 'entrypoint', // The id of the canvas element where we will render
kWidthRatio: 2.76,
kHeightRatio: 1,
- kTargetVerticalResolution: 32,
+ kTargetVerticalResolution: 32 + Math.round(Math.random() * 1024),
kFieldOfView: 45,
kNearLimit: 0.1,
kFarLimit: 100,
canvas.width = internals.kTargetVerticalResolution * internals.kWidthRatio;
canvas.height = internals.kTargetVerticalResolution;
-
- canvas.width = width;
- canvas.height = height;
},
// Methods: Shader / GL Related