Skip to main content

Questions tagged [unity-shader-graph]

Unity Shader Graph is a Unity tool that allows users to create shaders using a drag-and-drop graphical interface without writing any code.

1 vote
2 answers
2k views

I'm using a shader graph in the Universal Shader Pipeline (URP) to do some post-processing in a ScriptableRenderPass. How do I get the world coordinates of the screen position? I have tried using the ...
0 votes
1 answer
4k views

I am trying to design some UI elements using shader graph. In this case specifically a life bar that is transparent where empty. For a normal life bar with a filled and empty color I got it working ...
1 vote
0 answers
45 views

I would like to make the square move strictly along a square trajectory. The square will later be used to mask the main sprite. How to achieve this result? How to move the square along the square's ...
1 vote
1 answer
928 views

I have a foliage sway shader, that works well. But when the camera moves the vertex displacement stops: And the weird thing also is that if I move the camera to the right nothing seems to happen, but ...
0 votes
2 answers
196 views

I'm going to use a texture atlas for my upcoming project, and am trying to find a way to create a color overlay for only a specific section of my texture. Below what I'm trying to accomplish, only for ...
1 vote
0 answers
64 views

I want to have a sprite that is invisible when outside of light, and visible when inside of light. I created a new Custom Lit Shader Graph in Unity 6 with the following setup: I then created a player ...
0 votes
4 answers
5k views

I know how to rotate cube map with legacy surface shader Shader Rotation Matrix: ...
1 vote
1 answer
159 views

I am having an issue with shader graphs. I have made a shader to put textures on white sprites. The texture itself shows properly and I can tweak the size without any problems. The issue is that it ...
1 vote
0 answers
78 views

Via Shader Graph, how to create a shader that, applied to a continuous line renderer, transforms it into this:
0 votes
3 answers
585 views

I have a hexagon sprite MainTex over which I want to render an outline texture SecondaryTex independent of the alpha value of the MainTex. Since I have a fairly large grid with many hexagons, two ...
0 votes
1 answer
880 views

I created a character in Adobe Fuse, sent it to Mixamo for rigging with blendshapes and downloaded the fbx for unity file. Below is how the character eyelashes appear in Fuse.. However, when I ...
0 votes
1 answer
279 views

A custom shader I made is breaking on build. Here's what it's supposed to look like: Yet, on the build it looks like this. The surface is completely flat, all details are gone, and sometimes the ...
0 votes
0 answers
112 views

I want to learn how to project textures on to the mesh and overlap them like in Let’s Play Pottery. I have an idea for game. I created Models, 3d viewer but I can’t figure out how to implement texture ...
1 vote
1 answer
704 views

I've just started learning and getting into shader graphs in Unity and I was just watching some tutorials on Youtube and realized that in the video, when he created the shader graph, he could add &...
0 votes
0 answers
39 views

I am making a flickering light prefab, and have already made a shader and a material that make it turn on and off erratically. I also want the light to emit a buzzing sound when it's turned on, but I ...

15 30 50 per page
1
2 3 4 5
8