mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-05 19:36:45 +02:00
Merge pull request #1055 from HifiExperiments/mtoonGLES
Fix mtoon issue on GLES
This commit is contained in:
commit
2dd7306a5f
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ float fetchUVAnimationMaskMap(vec2 uv) {
|
|||
<@func evalMaterialShadingShift(fetchedShadingShift, materialShadingShift, matKey, shadingShift)@>
|
||||
{
|
||||
<$shadingShift$> = mix(0.0, <$materialShadingShift$>, float((<$matKey$> & SHADING_SHIFT_VAL_BIT) != 0));
|
||||
<$shadingShift$> += mix(0.0, <$fetchedShadingShift$>.r, float((<$matKey$> & SHADING_SHIFT_MAP_BIT) != 0));
|
||||
<$shadingShift$> += mix(0.0, <$fetchedShadingShift$>, float((<$matKey$> & SHADING_SHIFT_MAP_BIT) != 0));
|
||||
}
|
||||
<@endfunc@>
|
||||
|
||||
|
|
Loading…
Reference in a new issue