rayxuln / spine-runtime-for-godot

This project is a module for godot that allows it to load/play Spine skeleton animation.
MIT License
93 stars 22 forks source link

Material shader is not working #19

Closed yuraj11 closed 4 years ago

yuraj11 commented 4 years ago

Setting custom material shader on SpineSprite is not working (nothing happens).

scottkunkel commented 4 years ago

Set them on spinesprite/slotname. Spinesprite is just a container not displaying anything. The slots are the actual meshinstances and are children to spinesprite when running

Godot offers remote view to see what’s happening when running the scene.

Thomas

On Jul 20, 2020, at 6:01 AM, Juraj Novák notifications@github.com wrote:

 Setting custom material shader on SpineSprite is not working (nothing happes).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

scottkunkel commented 4 years ago

If you want to set a special shader such as an outline for the whole figure, you’ll have to create a viewport/ camera combo and apply the shader to that. It’s more involved.

Thomas

On Jul 20, 2020, at 6:08 AM, Thomas Scott-Kunkel thomas.scott.kunkel@gmail.com wrote:

Set them on spinesprite/slotname. Spinesprite is just a container not displaying anything. The slots are the actual meshinstances and are children to spinesprite when running

Godot offers remote view to see what’s happening when running the scene.

Thomas

On Jul 20, 2020, at 6:01 AM, Juraj Novák notifications@github.com wrote:

 Setting custom material shader on SpineSprite is not working (nothing happes).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

yuraj11 commented 4 years ago

OK I will try it with the viewport thing. Thanks for the info.

scottkunkel commented 4 years ago

I’d go back and check how gdquest did it in his battlers in his openrpg projects.

Thomas

On Jul 20, 2020, at 8:35 AM, Juraj Novák notifications@github.com wrote:

 Closed #19.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.