Closed hadronized closed 9 years ago
When an entity gets attached a Scale different than Scale 1 1 1, lighting gets deformed.
Scale
Scale 1 1 1
Using a Scale 10 10 10 on a plane 1x1 to make it bigger causes light diffusion to darken. The more the scale is, the more the light darkens.
Scale 10 10 10
No–fucking–idea. Normals are correctly transformed using the transposed inverse of the model matrix.
Just a thought… Maybe we should try to normalize the normal after the normal matrix multiplication.
Issue
When an entity gets attached a
Scale
different thanScale 1 1 1
, lighting gets deformed.How to reproduce
Using a
Scale 10 10 10
on a plane 1x1 to make it bigger causes light diffusion to darken. The more the scale is, the more the light darkens.Directions and leads
No–fucking–idea. Normals are correctly transformed using the transposed inverse of the model matrix.