issues
search
terhuhf
/
F-RE
A simple rendering engine
0
stars
0
forks
source link
insufficient floating number precision causes crazy artifacts
#9
Open
jiangyangmu
opened
7 years ago
jiangyangmu
commented
7 years ago
Reason
When calculating surface normal of a large sphere,
normalization
causes an area of normals to have the same value.
float precision -
1e-6
color precision -
256
Reason
float precision -
1e-6
color precision -256