Merge pull request #46676 from lawnjelly/ewok_modulate_shader
Batching - fix custom MODULATE shader applying modulate twice
This commit is contained in:
commit
d70258707d
@ -480,10 +480,10 @@ FRAGMENT_SHADER_CODE
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !defined(MODULATE_USED)
|
||||
#ifdef USE_ATTRIB_MODULATE
|
||||
color *= modulate_interp;
|
||||
#else
|
||||
#if !defined(MODULATE_USED)
|
||||
color *= final_modulate;
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user