Fix sun lightmaps with gl_texture 0
This commit is contained in:
parent
5e7b9e35c9
commit
9fc4acf440
1 changed files with 1 additions and 0 deletions
|
|
@ -5,5 +5,6 @@ void SetupMaterial(inout Material material)
|
|||
material.Base = uObjectColor;
|
||||
#else
|
||||
material.Base = desaturate(uObjectColor);
|
||||
material.Normal = normalize(vWorldNormal.xyz);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue