#Animated Shader Graph issue
1 messages · Page 1 of 1 (latest)
Can't see the node names in the screenshot...
Ok then, I’ll try and make everything more visible, my bad.
Do you have "always refresh" enabled in the scene view toogles ?
I didnt, but I think its solely an issue with the nodes, becasue the material just turns the plance gray
Also, here is the all of the nodes zoomed in.
the main preview itself is animated, and the modulo flickered between white and black, so I know thats also animated
That mostly looks like zfighting, so make sure you don't have another mesh or sprite in the same position
I have my normal sprite render there as a placeholder, but I am currently trying create an animated material that will take the place of that sprite.
It’s just so it can be shaded along with the rest of the room, because it would look really out of place for a dark blue setting, and then an olive green to show up
So, don't have it there
Create a new character sprite if you have to but make sure it's not overlapping with anything
thats not the issue.
The closest I got was replacing the material itself with the spritesheet, but that basically just had 4 seperate pngs, adn I wasnt able ot animated it the same
How do you confirm it's not?
Because I can have my normal material and sprite render active at the same, and the gray plane is still there after I removed the sprite.
Doesn't that indicate it is the issue?
You need to move your sprite away from the gray plane so it doesn't overlap with it
Again, I did that.
So the fact that the gray place is still there implies that the issue isn’t eith the sprite render
So where's the sprite? I only see the grey plane
Correct me if I'm wrong but aren't we supposed to see the character
Like earlier
The first image js the character sprite, not the material. The spray you can think of it as a GIF where it’s animated at five, FPS with four frames in total.
I’m currently trying to use a shader graph and nodes to simulate that exact same thing as a material so that way the GIF can be shaded.*
The gray plane is where the material woukd be placed
Basically I’m trying to make a gif as a material
Well, first things first did you save the shader graph before applying it as a material to the plane
And is the plane Unity's plane (or quad) or from some other source
That doesn't tell me what the mesh is, or where it comes from
Try the save button in Shader Graph as well
I recall in some editor versions ctrl+s might save the scene instead of the graph
THAT MIGHT BE IT
Its loading, but the gray blcok is no more
so its animated, but smths messed up with the animation process
Ill fix it later, thanks ! !
I was maybe confused by the use of terminology
A "shader" is necessary to render anything
A "material" is the asset that specifies how a mesh uses a shader
A "mesh" are the polygons that inform where the material can be drawn on screen
A "mesh renderer" and "sprite renderer" are components that inform which mesh is drawn and where it is in the scene (sprite renderers are also meshes)
A "sprite" is an image texture imported as a sprite with extra information for the sprite renderer to use it as a texture and to draw a mesh in the right shape
Im a beginner, and Im learning unity relatively quickly. I apologize.