how to apply shaders individually
Asked Answered
S

1

0

right now, I have a segmented enemy with an Animation Player that I key a shaders value with to apply it to the segment. the problem is that when I play the shader animation for one segment it does it for all segments, I saw someone mention that the time value for shaders is shared, so is there some way to make a shaders time value unique or some other kind of workaround? any suggestions appreciated for shader noob.

Singsong answered 10/1 at 18:0 Comment(0)
A
0

Singsong If each segment is a scene instance, set material/shader resource local to scene. Otherwise assign a different material (with the same shader) to each segment or use per instance shader uniforms

Allianora answered 10/1 at 18:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.