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
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 ...
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 ...
0 votes
2 answers
194 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 ...
0 votes
4 answers
5k views

I know how to rotate cube map with legacy surface shader Shader Rotation Matrix: ...
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
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 ...
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 ...
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 ...
0 votes
1 answer
579 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 ...
1 vote
0 answers
91 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 ...
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 ...
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 ...
1 vote
1 answer
542 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 ...
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, ...
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 ...
0 votes
0 answers
207 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 ...
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 :
1 vote
1 answer
432 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 ...
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 ...
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 ...
1 vote
1 answer
340 views

I've made a shader shown below which essentially acts as a "world bend / curve" shader by "bending" objects depending on their position from camera. It's a subgraph that outputs ...
1 vote
1 answer
5k views

I have written a shader (in the new LWRP shader graph) which simulates an ocean with vertices which offset to create a moving "waves" effect. I believe that in order to have objects "float" on my ...
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 ...
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 ...
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 ...