mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix mtoon issue on GLES
This commit is contained in:
parent
647dbf9cea
commit
6cbacc1d86
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