Questions tagged [shader-graph]

115 questions
0
votes
1 answer

URP Shader Graph shaders time node doesn't work in certain situations

I have several shaders that use the Time node to animate certain UI elements for my mobile game. In certain cases (which I am unable to reproduce), the shaders will be stuck on a specific time and not animate. For example, a shine shader might be…
Ron
  • 1,806
  • 3
  • 18
  • 31
0
votes
1 answer

Accessing a secondary texture normal map in shader graph?

I'm using Unity 2020.1.3f1's URP, with the new 2D renderer system. As of right now, I have objects that change between the built in "Sprite-Lit-Default" material, and a material with the custom built pixel outline shader detailed here:…
Sheep
  • 3
  • 1
  • 5
0
votes
1 answer

How to set direction of arrows in shadergraph

I'm pretty new to shader graph and shaders in general. I'm working on a 2D project and I'm trying to make a shader that rotates an arrow to make a flow-like material and use it on a sprite shape. Basically what I want to do is make a proper version…
Ash Maf
  • 3
  • 3
0
votes
1 answer

Unity - UI bar on Player (Astroneer/Deadspace like)

I'm trying to create a sort of UI/HUD bar for counting ammunition in the back of the character, such as the health bar in astroneer or deadspace. I tried to follow this reddid…
0
votes
2 answers

Rotate vertices selected using weight map on UVs in Unity3D's Shader Graph around pivot point

TLDR: Can't figure out the correct Shader Graph setup for using UV and vertex displacement to cheaply animate a (unrigged) mesh. I am trying to rotate a part of the mesh based on the UV coordinates, e.g: fromX 0 toX 0.4, fromY 0 toY 0.6. The mesh is…
Alx
  • 651
  • 1
  • 9
  • 26
0
votes
1 answer

Unity Shader Graph - Grandient following the object shape

I'm learning unity and I'm very new to shaders. I'm doing a lot of tutorials and already did some things, but I have a problem that I'm not able to solve. The problem I have is that I want (if it's possible) to make a gradient (or a texture,…
tyronleo
  • 1
  • 1
0
votes
1 answer

Unity 2019 - Shader graph - How to recreate fill function in UIImage

I am trying to create a circular health bar that would deplete on the Y-axis. This works fine on a normal image with Image type filled and fill method - vertical but I want the texture to be animated. I managed to create a shader that animates the…
STerrier
  • 3,755
  • 1
  • 16
  • 41
-1
votes
1 answer

How can I add a shader graphics to my project?

I want to add the shader graphics to my project - Example. Thanks for your help!
noa
  • 1
  • 4
-1
votes
1 answer

Unity Shader Graph - Glow motion of an object with Shader Graph

I'm new to shaders and with the new Shader Graph from Unity I'm trying to experiment and archive some effects that I have in mind for my games. I want to get something like this: https://i.stack.imgur.com/xTTGl.jpg I want a glow effect to go arround…
tyronleo
  • 1
  • 1
-2
votes
0 answers

How to draw sprites at correct depth using multiple cameras in Unity?

I am creating a 2.5D game, in which I need to render both 2D sprites and 3D objects, but with a shader that makes them pixelated. I took the idea from this guide (https://youtu.be/dpNhymnBDQw?si=JQQ3a92tLKWhomTf). Everything works correctly, but the…
1 2 3 4 5 6 7
8