mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 12:15:30 +02:00
Merge pull request #9169 from samcake/red
Fix the highlight issue introduced RC 29 - 5774
This commit is contained in:
commit
b72aa83afa
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ void main(void) {
|
||||||
vec3 fragEyeDir = normalize(fragEyeVector.xyz);
|
vec3 fragEyeDir = normalize(fragEyeVector.xyz);
|
||||||
|
|
||||||
// COmpute the rougness into gloss2 once:
|
// COmpute the rougness into gloss2 once:
|
||||||
float fragGloss2 = pow(frag.roughness + 0.001, 2.0);
|
float fragGloss2 = pow(frag.roughness + 0.001, 4.0);
|
||||||
bool withScattering = (frag.scattering * isScatteringEnabled() > 0.0);
|
bool withScattering = (frag.scattering * isScatteringEnabled() > 0.0);
|
||||||
|
|
||||||
int numLightTouching = 0;
|
int numLightTouching = 0;
|
||||||
|
|
Loading…
Reference in a new issue