Questions tagged [precision]
The precision tag has no summary.
9 questions
6
votes
3
answers
4k
views
Convert integer to float while also dividing down the scale, without data loss
I'm working on a game, and my intent is to avoid use of floating point for unit positions. To that end, I'm using 32-bit integers for all positions, with a millimeter scale.
However, for rendering, I ...
8
votes
1
answer
5k
views
Why loss of floating point precision makes rendered objects vibrate?
I'm working on an open-world game. I noticed glitches when I move far away from the origin. The objects seem to be shaking or wiggle. Especially the z-fighting seems to wiggle. And the objects that ...
2
votes
2
answers
511
views
Does 64-bit translation and transformation slow down the engine significantly?
So, how does one go with rendering world space calculated in 64-bit? How can that even work? GPUs can use Double Precision, but significantly slower than FP32.
How can one achieve world space ...
0
votes
1
answer
313
views
Delta compressed world state when networking in JavaScript
Lets say we send a snapshot from the server to the clients about world details, containing object positions, velocities etc, every second. We should send only delta-data based on the previous snapshot ...
2
votes
2
answers
4k
views
Is it possible to use unnormalized texture coordinates from a GLES2 GLSL fragment shader?
I want to look up a texel from my GLES2 GLSL fragment shader using un-normalized texture coordinates (0-w, 0-h instead of 0-1, 0-...