article thumbnail

Glass / Crystal Shader

Cocos

Are there any demos that showcase this effect? While the transparency does work, there are parts of the cube where it looks more opaque than translucent. I would also like to include a shadow that resembles that to the glass shadow. Thanks in advance.

Shaders 52
article thumbnail

How do I add border radius and stroke to a spriteFrame?

Cocos

Hi, the rounded border and the image strokes can be achieved with the shader. You can refer to the github.com CocosCreatorShader/demo/2d/Creator3.6.0_2D_CircleAvatar at v3.6.x x/demo/2d/Creator3.6.0_2D_CircleAvatar Contribute to yeshao2069/CocosCreatorShader development by creating an account on GitHub.

Demo 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Cocos 3.7.3 Using Material setProperty on Spine only take effect for the first time

Cocos

Hi, I am writing a simple shader for spine, and use ts code to animate that shader by setProperty function. Here is my demo TestShaderSpine.zip (5.3 The same logic work with sprite, but not Spine. How can I make setProperty work inside a tween?

Shaders 40
article thumbnail

Cocos 3.7.3 Using Material setProperty on Spine only take effect for the first time

Cocos

Hi, I am writing a simple shader for spine, and use ts code to animate that shader by setProperty function. Here is my demo TestShaderSpine.zip (5.3 The same logic work with sprite, but not Spine. How can I make setProperty work inside a tween?

Shaders 40
article thumbnail

Cocos 3.7.3 Using Material setProperty on Spine only take effect for the first time

Cocos

Hi, I am writing a simple shader for spine, and use ts code to animate that shader by setProperty function. Here is my demo TestShaderSpine.zip (5.3 The same logic work with sprite, but not Spine. How can I make setProperty work inside a tween?

Shaders 40
article thumbnail

GDquest Kickstarter Stretch Goals, Free Tutorials and Demos

Mircosoft Game Dev

Godot demos. Visual shader editor, animation tools, changes in the interface, tileset editor, 2d and 3d physics improvements, typed GDscript. we will cover all the main features, and release all the videos and companion demos under a permissive license. Our new Godot course Kickstarter campaign was funded in less than four days!

Demo 52
article thumbnail

Axmol-2.0 released

Cocos

(A fork of Cocos2d-x-4.0) release notes Add experimental WebAssembly build support(WebGL 2.0) axmol run -p wasm -xb "--target,cpp_tests" Add 2 cmake options: AX_WASM_THREADS , AX_WASM_SHELL_FILE , refer to CMakeOptions.md fmtlib: 10.0.0 ==> 10.1.0 FreeType: 2.13.0 ==> 2.13.2 llhttp: 8.1.1 ==> 9.0.1 OpenSSL: 3.0.9 ==> 3.0.10

Shaders 40