Custom rendering Graphics for Cocos 3?

Continuing the discussion from Tutorial: Custom rendering using cc.Graphics in Cocos Creator:

Thank you, @CocosMarketing and GT for the above tutorial topic!
It was of great use to me when working on Cocos 2, specifically the sampling from a texture file.

Is there any chance of a guide, or maybe some tips on how to port the effects and materials from this demo to Cocos 3?

Fundamentals remain the same, so you can have a try with shader customization in v3

https://docs.cocos.com/creator/manual/en/shader/effect-inspector.html
https://docs.cocos.com/creator/manual/en/shader/write-effect-overview.html
https://docs.cocos.com/creator/manual/en/ui-system/components/engine/ui-material.html

1 Like

Thank you @pandamicro !
I’ll try this.