Canvas Shaders for Sprite3D
Asked Answered
D

3

0

I can attach a shader to a Sprite2D with no problem.

But when I attach a shader to a billboarded Sprite3D I get no effect.

How do I apply a canvas_item shader to a Sprite3D?

Dorcus answered 18/9, 2023 at 21:41 Comment(0)
C
0

Dorcus Canvas item shaders will generally run only on canvas items. 3D objects, including billboarded sprites will ignore them. You can either rewrite your shader as a standard/spatial shader or render your canvas item in a custom viewport and use the viewport texture on the 3D sprite.

Cosma answered 18/9, 2023 at 22:35 Comment(0)
E
0

Cosma

Going to need a bit more detail in this explanation for the noobs like me who don't know what all that jargon means.

what do you mean by "custom viewport and use the viewport texture on the 3D sprite"? This is all Greek to me and probably other beginners on this site.

East answered 17/12, 2023 at 4:33 Comment(0)
C
0

East What problem are you trying to solve?

Cosma answered 17/12, 2023 at 6:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.