mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 12:04:38 +02:00
fix typos
This commit is contained in:
parent
767407af9c
commit
5f5cc3dbaf
1 changed files with 2 additions and 3 deletions
|
@ -151,7 +151,6 @@ vec3 evalLightmappedColor(mat4 invViewMat, float shadowAttenuation, vec3 normal,
|
|||
|
||||
// evaluate the shadow test but only relevant for light facing fragments
|
||||
float lightAttenuation = (1 - facingLight) + facingLight * shadowAttenuation;
|
||||
|
||||
// diffuse light is the lightmap dimmed by shadow
|
||||
vec3 diffuseLight = lightAttenuation * lightmap;
|
||||
|
||||
|
|
Loading…
Reference in a new issue