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
Shader uniforms cannot be keyframed into an animation #24690
Comments
Actually, I think you can't keyframe stuff that isn't a node, i.e you cannot keyframe resources, and shader uniforms (aka Resource properties have a keyframe icon shown next to them, but clicking it does nothing and prints an error.
If I try to keyframe a
I wonder if keyframing resources was initially intented though. One thing to be aware of when you do this is to be aware of which nodes have this resource in common, because resources can be shared. |
Interesting. You definitely could keyframe shader parameters in Godot 3.0.6, and it's very handy to be able to do so. My guess is the intended behavior is for you to be able to keyframe these. If not, it should be. |
I just tried for This also happens in 3.1 alpha4, even though the inspector appears to show a default value. If you have a |
Yeah, I noticed that in 3.0.6 as well. In 3.1, I have a float uniform that I just can't seem to get keyframed, even if I manually change the value from the default in the inspector. I'm using |
I am also facing that issue when trying to keyframe some settings in a ProceduralSky inside a WorldEnvironment node. A current workaround is to change the track name to what you need, in my case "WorldEnvironment:environment:background_sky:sky_top_color", it should work as intended after that. I believe it might be related to how the new UI is set up, it might not be providing the correct values for the keyframe button, so anything that is not a direct property of the node or has more than one level (e.g. resource properties) won't work. |
Reopening, the issue seems still present in 3.3.
Here's minimal project: |
This bug still exits in |
I can't reproduce it in 4.3 with my previous attached project. |
Godot version:
3.1 alpha 4 (downloaded from here)
OS/device including version:
Windows 8, Toshiba Satellite
Issue description:
Clicking the keyframe icon next to a shader parameter in the inspector does not keyframe the current value into the animation. It doesn't do anything.
It appears you cannot keyframe the
shader
itself or therender_priority
either.Steps to reproduce:
Sprite
with anAnimationPlayer
child.Sprite
with some uniform.Minimal reproduction project:
TestProject.zip
The text was updated successfully, but these errors were encountered: