vertexlit_specular: fix one assignment, which was causing bugs on some vendors
This commit is contained in:
parent
2c79071514
commit
69b5524771
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ varying mat3 invsurface;
|
|||
discard;
|
||||
}
|
||||
|
||||
light += (e_light_mul * lambert(norm, e_light_dir)) * 2.0f; /* directional light */
|
||||
light = (e_light_mul * lambert(norm, e_light_dir)) * 2.0f; /* directional light */
|
||||
light += (e_light_ambient * lambert(norm, reflect(norm, e_light_dir))) * 0.5f; /* reverse ambient */
|
||||
light *= 2.0f;
|
||||
|
||||
|
|
Loading…
Reference in a new issue