Tutorial: Cocos Shader Series - Use a Noise Map to Make a Dissolve Texture
Cocos
SEPTEMBER 12, 2023
x, I using this code but it not bring Property affect to shader Ok, this work if turn of Packable in main Sprite inspector Blockquote const sprite = this.getComponent(Sprite); const mat = sprite.customMaterial; mat.setProperty(‘dissolveThreshold’, 0.5); Version 3.6.x,
Let's personalize your content