mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-06 03:10:13 +02:00
Merge pull request #12273 from samcake/RC63-fix-lighting
RC63 hotfix: fixing lighting on scattering skin bug 11802
This commit is contained in:
commit
97d9fe0ea7
1 changed files with 0 additions and 1 deletions
|
@ -99,7 +99,6 @@ void evalLightingAmbient(out vec3 diffuse, out vec3 specular, LightAmbient ambie
|
|||
|
||||
// Diffuse from ambient
|
||||
diffuse = sphericalHarmonics_evalSphericalLight(getLightAmbientSphere(ambient), lowNormalCurvature.xyz).xyz;
|
||||
diffuse /= 3.1415926;
|
||||
specular = vec3(0.0);
|
||||
}
|
||||
<@endif@>
|
||||
|
|
Loading…
Reference in a new issue