[CC 3.7.3] Shader Error?
Cocos
JUNE 1, 2023
So, I just copied from the built-in sprite effect file to mine. Edit: mySprite.effect contents: // Copyright (c) 2017-2020 Xiamen Yaji Software Co., I’m just learning how a shader works. But, everything stopped working as intended. o.r = o.g = o.b = gray; #endif #endif o *= color; ALPHA_TEST(o); return o; } }%
Let's personalize your content