-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next pass in CanvasItemMaterial seems to do nothing? #17461
Comments
When I create a shader and set as |
Still happens in 3.1 alpha 8dd00ed |
version: 3.0.6 stable |
Still happening in 3.1 stable. This is problematic for animated Particle2Ds that used a ShaderMaterial, because CanvasItemMaterial is now required to set animation parameters. |
Still happens with Godot 3.1.1. Wanted to pulse the alpha of fireworks particles, but the next_pass shader put into the ParticlesMaterial does nothing. |
I confirm. I wanted to stack canvas_item shaders and the next_pass property disappears. |
Can confirm! I just started learning shaders and was confused why my shader didn't show up in neither the editor nor the game. |
Seems it's not user error then. Can't wait until it's fixed. |
Still valid in 3.2.3 In f733746 both reproduction scenes seem to be broken, so it's impossible to test. |
Godot version:
eceba5a
OS/device including version:
OS: Ubuntu Linux 17.10 64b.
OpenGL version string: 4.6.0 NVIDIA 387.34
OpenGL shading language version string: 4.60 NVIDIA
Video device: GeForce GT 630/PCIe/SSE2
Issue description:
I am not entirely sure if this is human error, since the documentation is sparse, but setting a ShaderMaterial as next_step of a CanvasItemMaterial seems to have no effect. I included a little test displaying the shader working when set as material directly, and a "_wrong" version where it's set as the next step.
Steps to reproduce:
Set a shader material as the next_step of a CanvasItemMaterial.
Minimal reproduction project:
b.zip
The text was updated successfully, but these errors were encountered: