Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >

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
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
1 answer
2k views

Is there a way to convert the below piece of shader code to shader graph? I am not sure how to find float2(i, i) in shader graph. ...
Saif's user avatar
  • 153
0 votes
3 answers
559 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
0 votes
1 answer
899 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
0 votes
2 answers
587 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
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
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
258 views

I've created 2 shaders using shader graph which I'm applying to a sphere to simulate a ball of water/ice. The water shader distorts the shape of the sphere over time to look like it's flowing a bit. ...
Evan Ward's user avatar
  • 125
0 votes
1 answer
744 views

I'm trying to fake terrain blending by using an opacity mask on my road mesh to reveal the grass underneath. I'm currently multiplying some Perlin noise by a Rectangle node displaying my texture at 80%...
Matt's user avatar
  • 405
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
1 answer
2k views

I am currently working on a transparent shader and noticed that all my works have a jagged dark outline. I guess I've used the wrong settings somewhere, but I've been fiddling around with a couple ...
iQew's user avatar
  • 470
0 votes
2 answers
193 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
1 answer
759 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
523 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
0 votes
1 answer
198 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
0 votes
1 answer
647 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
591 views

I've made simple world curving shader following some online tutorials and cleaning few things up. It's doing its job, however I have small issue where it curves objects that are very close to a camera....
Ilja's user avatar
  • 143
0 votes
1 answer
3k views

I am extracting Normal Map from Texture2DArray in shader graph and then converting it to normal using ...
Nick's user avatar
  • 561
0 votes
1 answer
839 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
0 votes
1 answer
1k views

In Unity Shadergraph, how can I create a checkerboard pattern that works independently of the size of the quad that it is applied to? Here's what I got so far. Since I have set the Frequency to 10x6, ...
Ben's user avatar
  • 517
0 votes
1 answer
172 views

So my problem is a bit hard to explain. I have a character made out of a jello shell, with an internal skeleton. So let me introduce you to ma boi "Chonker McJello" The problem is, that I ...
Megaloadon's user avatar
0 votes
1 answer
705 views

I am working on a procedural interior mapping shader in Unity's Shader Graph. Ideally, I'd like to feed it a set of cubemaps it can pick from semi-randomly. However, it seems that by default the ...
Weckar E.'s user avatar
  • 842
0 votes
1 answer
878 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
0 votes
1 answer
12k views

I have two transparent textures. border.png and text png. They are both white images with transparency for the parts I dont want to affect. What I want to achieve in shadergraph is to: 1: Put both ...
theCodeHermit's user avatar
0 votes
1 answer
858 views

How could I make a shader graph that makes spheres that look like on this image? I'm new to shaders and I don't know how to do this. Also, if it's possible I would like a property to change the ...
Tornado 77's user avatar
0 votes
1 answer
2k views

I have a character sprite mesh and mesh renderer (The black wavy box). I am hoping to be able to overlay the black box onto the character covering the sprites but I am not sure how to do that. I ...
Thomas A. Bosler's user avatar
0 votes
1 answer
6k views

I recently added the Lightweight Render Pipeline to my project as I'd like to start experimenting with Shadergraph to see if I can get a better basic understanding of shaders. Everything has gone ...
Pheonix2105's user avatar
0 votes
0 answers
111 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
271 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
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
0 votes
1 answer
370 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
577 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
0 answers
57 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
0 answers
197 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
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
0 answers
205 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
1 answer
660 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
678 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
894 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
0 votes
0 answers
109 views

I am making waterwaves in shadergraph and i want to make a boat that will bop around on those waves, but to do that i need to get those vertices back into the CPU. I am unable to replicate those waves ...
BinaryPastaChef'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
0 answers
180 views

Say I've got a character model where part of the face has two UV maps: one's mapped to the generic body texture, the other covers a small area on the face to allow for a highly detailed tattoo. I want ...
Ian Competent's user avatar
0 votes
0 answers
165 views

I am playing a bit with the shader graph (I am fairly new to shaders) but I am completely lost at the moment. What I'd like to obtain is to somehow retrieve the alpha value after the blended operation ...
Neeklo's user avatar
  • 1
0 votes
0 answers
241 views

I've recently (11 hours ago, to be precise😅) started to work with shaders and it's going pretty well. I've created a simple shader to create an outline and I tested it on a simple object to see how ...
Arian_ki's user avatar
  • 691
0 votes
0 answers
305 views

I have a Shader graph in which I am using "Scene Color" node to do processing on camera feed, It is Unity AR foundation project Until now I was passing color to be used using a property, Now ...
Dhruv's user avatar
  • 101
0 votes
0 answers
270 views

When I build my game while graphics API is set to webgl1 the shader is just a gray texture. It works fine if graphics API is set to webgl2 but I need it to work on webgl1. Can shader graph shader ...
Ivan's user avatar
  • 379
0 votes
0 answers
174 views

Does anyone have any idea how to implement a shader that manages to make this effect in Unity? I found a post that explains, but I'm still learning shaders so I didn't really understood how to go ...
Arthur Leandro's user avatar
0 votes
0 answers
2k views

I would like to make a tileable texture with UV noise in Unity Shader Graph only, but I have a problem. After creating simple noise from UV, I want to rotate it by 90 degrees, but the node ...
MaxiMaxi's user avatar
0 votes
0 answers
83 views

My procedural game has blocks that can be selected. When selected, I'd like them to to fade a bit; I can achieve such an effect in Shader Graph by applying a Blend → Lighten operation to the block ...
Matt's user avatar
  • 405
0 votes
1 answer
561 views

I have a hexagon in the Polygon node I would like to rotate so the pointy side is upwards. Applying the rotation nodes, however, simply changes the color of the hexagon from white to a color in the ...
Matt's user avatar
  • 405