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.

Filter by
Sorted by
Tagged with
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 ...
White Raven's user avatar
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 ...
FSic's user avatar
  • 188
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 ...
L9572's user avatar
  • 11
0 votes
3 answers
573 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 ...
Jachuc's user avatar
  • 45
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 ...
stevendesu's user avatar
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:
kaloprat's user avatar
  • 119
1 vote
1 answer
702 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 &...
rck's user avatar
  • 21
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 ...
Mashimaro7's user avatar
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 ...
Danish Arain's user avatar
0 votes
1 answer
374 views

Is it possible to set the output vertex position in a space other than object space?
Askhento's user avatar
  • 123
0 votes
1 answer
586 views

I have what is essentially a double triplanar shader. The first triplanar is a base rock texture, and the second triplanar is going to be an accent texture, such as grass, sand, etc, which is always ...
Krythic's user avatar
  • 800
0 votes
1 answer
916 views

I'm attempting to recreate this effect using a shader in Unity, using version 2023 with HDRP: The effect appears to be pinching pixels behind the object the shader is applied to and dragging them ...
Sean2148's user avatar
  • 145
3 votes
1 answer
1k views

I'm new to shader, so please pardon my lack of knowledge. I am trying to understand what does UV node do in shader graph. I tried searching on google and in https://docs.unity3d.com/Packages/com.unity....
pi squared's user avatar
0 votes
2 answers
597 views

I can easily make a basic water shader, and create a script that detects when something touches the water, but does anyone know how I would actually trigger a ripple in shader graph? I'm not asking ...
Pow's user avatar
  • 449
1 vote
1 answer
543 views

I have this hexagonal grate floor: Which is a flat plane with the following shader: The hex lattice created using the method by Andrew Hung. Albedo and metallic/smoothness shader are just simple ...
Dr Rob Lang's user avatar
0 votes
0 answers
199 views

I'm new to Unity and I've been frustrated for the last 5 days. I'm trying to apply a toon / cel shader to my object which I've imported from Blender. It already has a default material called ...
cak3_lover's user avatar
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 ...
Luca Ballanzeddu's user avatar
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 ...
Kinan GH's user avatar
3 votes
1 answer
3k views

I am attempting to wrap a texture around a sphere without any warping using Unity's Shader Graph. I have been following this StackExchange answer, and have semi-successfully converted their shader ...
Harper Rhett's user avatar
1 vote
0 answers
93 views

Currently I'm using a shadergraph for an animated material, for some reason as long as I don't have any input it works as intended and with the correct speed, while if I do any action/input the ...
Seo's user avatar
  • 11
0 votes
1 answer
256 views

I was watching this tutorial and at timestamp 3:03 he did this: This blows my mind because I didn't expect that to actually work, how the heck does that work ???? For example, if I have vector (2, 3, ...
pi squared's user avatar
0 votes
1 answer
666 views

I need how to make a gradient that smoothly transitions from white to transparent for a 2D sprite via a URP shader graph. It seems like I’m already set up and everything should work, but for some ...
Camporation's user avatar
0 votes
1 answer
3k views

I want to rotate a mesh in a way that the Z axis arrow always points towards the camera. For a script I would do something like this: ...
Digvijaysinh Gohil's user avatar
0 votes
1 answer
762 views

I want to make skybox with moon (texture 2d) with shader graph and be able to modify moon radius. Moon Texture 2d :
user avatar
0 votes
1 answer
682 views

I have a skybox with stars cubemap So, how can I rotate stars cubemap on Z axis using "Rotate About Axis"?
user avatar
0 votes
0 answers
59 views

I am using simple shaders on the cards in my game. The shader is assigned as a material to a white image the covers the whole card. They render as intended in the scene view, but do not in IOS ...
Devin's user avatar
  • 1
0 votes
1 answer
525 views

I'm trying to make moon with a cubemap texture in shadergraph. I made it, but the texture is incorrect. I'm using a cubemap from NASA as a texture and it works, but it's bigger than moon shape and ...
user avatar
3 votes
1 answer
6k views

Since Unity 2021.2.0b7 (that is, URP 12.0.0), there has been a well known problem with absurd number of shader variants wanting to be compiled for even a somewhat simple shader (i.e. shaders generated ...
user213769's user avatar
1 vote
2 answers
3k views

I've been losing my mind over this for a couple of days now, and can't find any concrete information about it. I am trying to write a custom shader (shader graph to be specific) to light sprite shape ...
Cristian C.'s user avatar
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 ...
Sirius 5's user avatar
  • 139
2 votes
0 answers
293 views

I have followed a gerstner wave shader graph tutorial. (YouTube Tutorial) I am now trying to implement buoyancy by attaching the following script to a gameobject. (YouTube Tutorial) ...
Magnality's user avatar
0 votes
0 answers
209 views

As you can see from this video, the shader graph was used to curve the path. In landscape mode, it works as expected but in portrait mode nearby objects (the buildings and other objects) disappear ...
Junjie J2's user avatar
0 votes
4 answers
5k views

I know how to rotate cube map with legacy surface shader Shader Rotation Matrix: ...
Seyed Morteza Kamali's user avatar
0 votes
0 answers
2k views

EDIT: I have tried opening the shader in an empty project to test if there were some strange settings in the project, but it is the same issue. I am creating a power bar which wipes from left to right....
anothershrubery's user avatar
0 votes
1 answer
3k views

I'm learning Shader Graph and am trying to experiment with toon shading effects. One thing I'd love to do is make a traditional art styled crosshatching effect either inside shadows or at the edge of ...
JSparks's user avatar
  • 199
0 votes
0 answers
896 views

I have followed a PolyToots tutorial (https://www.youtube.com/watch?v=3T8cKTQrMxk) to make a 'rug deform' effect. This is great except for that the vertices aren't deforming faithfully enough to ...
yunum's user avatar
  • 69
1 vote
1 answer
3k views

I want my sprite to use a blend mode based on the background (like in Adobe programs) so I set shader graph blend mode to Multiply. The blend works, but I get strange artifacts on my sprite. In this ...
Ivan's user avatar
  • 379
0 votes
1 answer
199 views

Given that I don't have the basic concepts to work with 3d, I would still like to experiment and learn. What have I done: I imported an SVG of the world map into Blender I extruded the SVG I ...
Baro's user avatar
  • 81
5 votes
1 answer
5k views

Unity Version: 2019.4.1f1 Render Pipeline: URP I created a shader using Unity's Shader Graph, and I want to apply GPU Instancing on this shader, but there is no way to declare per-instance properties ...
Fadi Obaji's user avatar
0 votes
0 answers
49 views

I'm new to working with lights in Unity, I watched a lot of tutorials and decided to use URP. It seems like I have everything set up, but when I set the lighting, the light doesn’t fall on the ...
Lekr01d's user avatar
0 votes
1 answer
654 views

I am trying to make a dithering effect on the player so that when the camera comes below or very close to the player he will be dotted or transparent like in Genshin Impact. So, I followed a tutorial ...
Dev 's user avatar
  • 1
0 votes
1 answer
879 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 ...
Vipin Verma's user avatar
1 vote
0 answers
117 views

I want to create a shader that will make spheres/circles look like a blob when colliding. I don't understand shadergraph at all, but I tried to follow intersection shader tutorials. The problem is ...
Pinet's user avatar
  • 11
2 votes
3 answers
10k views

I am working on procedural generation in Unity, and am now a bit stuck. I am using Perlin noise to generate a heightmap, including lacunarity, persistence, octaves and frequencies. Today I have been ...
Tom Scott 's user avatar
0 votes
1 answer
843 views

i need to add a flow effect to my river so that the water can flow along the path described by the mesh i created. Using ShaderGraph shader i added a time node ...
bibrosko's user avatar
1 vote
1 answer
2k views

I'm working on a Unity 3D game that requires fog of war. It is seen from above. I was looking for help and found this: (I dont know what game it is though) This would perfectly fit my needs but I don'...
jm-laliberte's user avatar
1 vote
1 answer
3k views

In the "Built-in shader variables" section of the Unity Manual, underneath the Time header, there is a table that provides information about each time variable: _Time; _SinTime; _CosTime; ...
Jake Matthews's user avatar
1 vote
1 answer
7k views

I have created a shader using Unity's shaderGraph to move my clouds back and forth. I'm using Sine Time to alter the x-position of all the pixels in my sprite. Now, all the clouds are moving in sync, ...
John's user avatar
  • 294
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 ...
Andrey's user avatar
  • 230
1 vote
1 answer
435 views

i have a question, if someone is developing a game on unity for commercial purposes, can free or even paid assets be used in the game even if it is to sell the game? are assets not subject to ...
BRUNO's user avatar
  • 11