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