Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
57 views

I started learning Unity and Shader Graph. Right now I try to understand, how the Channel Mixer is working internally. I put in a color R 50,G 100,B 150 and the configuration on the output-R channel ...
PHilgarth's user avatar
  • 291
1 vote
0 answers
47 views

I am using Shader Graph in Unity 6 to create the dissolve effect and its Surface Type is Transparent and Rendering both sides. The problem is that this causes the back faces of the object that are ...
Nguyên Nguyễn Phúc's user avatar
0 votes
1 answer
104 views

My current shader makes a linear road mesh follow a bezier. It also is supposed to allow for both normal uv mapping and worldspace mapping. I tried to distort the normals and tangents along with the ...
Hexcoder's user avatar
0 votes
0 answers
33 views

I am using a shader created by jess-hammer. Image of Jess-hammer's shader I have a very simple TerrainController which controls a tilemap that is using the shader above. using UnityEngine; public ...
Para El's user avatar
0 votes
1 answer
130 views

I have this shader , this is what the code looks like: Shader "Hidden/FogOfWar" { Properties { _MainTex ("Main Texture", 2D) = "white" {} ...
Snedden27's user avatar
  • 1,928
0 votes
0 answers
106 views

I need help with my shader graph I'm offsetting the vertices on their normal axis and somehow it causes tearing in the mesh causing there to be holes in my rock. I've tried using a world position node ...
Einar Lundqvist's user avatar
0 votes
0 answers
42 views

I am currently working on a Unity Project with HDRP to export Images for the training of a Machine Learning Model. Therefore Unity needs to ouput images with the same distortion as my physical camera ...
Oberwalder Sven's user avatar
0 votes
0 answers
40 views

I have a question about Unity's Sorting group and Shader Graph. [interactive 2D water] (https://youtu.be/TbGEKpdsmCI?si=79lD21CmRytbruJF) I created interactive water after watching this video and ...
김민우's user avatar
0 votes
2 answers
112 views

private void GenerateBrushTexture() { int textureSize = Mathf.CeilToInt(radius * 2); brushTexture = new Texture2D(textureSize, textureSize); for (int x = 0; x < textureSize; x++) { ...
Dandjix's user avatar
1 vote
1 answer
415 views

I have created a simple color swap shader, and then a material from it. Now, I would like to see the effect in action in Edit Mode. However, I receive the following error: Instantiating material due ...
Ben's user avatar
  • 16.8k
1 vote
1 answer
60 views

Does anyone know how to convert this float(actually vector2?) on the image into kinda list or smth like that with just float (not vector2). I want to use this gaussian noise to randomize my amplitude. ...
Smile3329's user avatar
0 votes
0 answers
149 views

What I am trying to do is: Swap between palettes for one character. There is a character imported from .aseprite (via unity aseprite importer) and two other .asperite files that are palette ...
soztrk's user avatar
  • 303
0 votes
2 answers
273 views

I have a custom renderer feature that create normal texture and using that. Normal texture can be view or world space. If I create view space normal texture and sample with the uv node of the full ...
yong's user avatar
  • 1
1 vote
1 answer
359 views

I would like to apply different textures to the front and back faces of a 3D material. Specifically, when applying a texture that cuts the object in half through opacity, I want to be able to observe ...
KFMedia's user avatar
  • 11
3 votes
0 answers
243 views

I am creating a shader in Reality Kit Pro that sets a material's opacity based on the texture coordinate y-value and how much time has elapsed since TimeStart. The Time node below is the current ``...
wcochran's user avatar
  • 11k
-2 votes
1 answer
2k views

Im creating a 3d game in Unity, basically, I have a shader that the in game scanner uses, multiple things are scannable meaning there are multiple materials with the same shader. This shader is ...
adoge's user avatar
  • 87
0 votes
1 answer
219 views

"Hello, I'm currently working with Unity version 2022.3.11f1 and utilizing Shader Graph. In my project, I have implemented a cloud, as visible in the attached photo. My goal is to enhance the ...
NADER LABBAD's user avatar
0 votes
0 answers
374 views

screenshot As you can see lines disappear at the end and it also flickers when moving the camera. I am rendering these lines using shader graph UV node and smoothstep. there is nothing suspicious ...
Lumi's user avatar
  • 1
-1 votes
1 answer
622 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
-2 votes
1 answer
694 views

I made a curve shader using shadergraph. But it has a flaw. The current version calculates the offset and adds it to object vertex positions. This works well if the objects forward vector is parallel ...
Joseph Star's user avatar
0 votes
1 answer
107 views

there, Because normal map rendering is broken. I very comfused. Using Light2D in Renderer2D, And Sprite Lit shader graph with Normal map. Graph is very simple. Here is this graph. However this shader ...
amenonegames's user avatar
0 votes
0 answers
203 views

My project that was from tutorial made by Sebastian Lague about procedural generation and I upgraded it to URP Before upgrade it looked like this: I needed to recreate the material from scratch using ...
Drunkiel's user avatar
0 votes
0 answers
459 views

I'm using a graph shader to do a simple shift of the vertices of a 2D mesh. When object is in zero coordinates all seems to work, but the further from the center, the stronger the distortion, which ...
MrWorld's user avatar
3 votes
1 answer
576 views

I don't have experience in Computer Graphics, so I am not sure how the GeometryModifier of the Reality Composer Pro works. But to me there seems to be a bug (Version 1.0 (385.2)). To test, I created a ...
Reinhard Männer's user avatar
0 votes
1 answer
746 views

How make dashed outline for rounded rectangle like in figma? I tried wrote this, but I did only part with rounded rectangle and outline based on subtraction two rounded rectangles with different ...
deadbit's user avatar
0 votes
0 answers
146 views

I have a problem with custom shaders in Unity 2021.3.16f which blends two textures 1 - (1 - target) / blend I needed the effect of enhancing one texture on another, but as a result, I got this effect:...
Mugivara__'s user avatar
1 vote
0 answers
247 views

I’ve got a problem with my game, I created a transparent material from a shader graph and that worked in the Windows build but turned pink in the Android build. This is the shader I put the shaders ...
Dark Templar's user avatar
1 vote
0 answers
556 views

I created a color property in the shader graph and set the color through the unity inspector. Then I changed it with the code: image.material.SetColor("_MainColor", colorNew); However, I ...
dezzcore's user avatar
0 votes
1 answer
1k views

I'm using Unity 2021.3 (URP). I'm using ShaderGraph. I'm working on custom fog effect, agile and individual for each 3D lit object of some category. I want to be able to turn some part of lit-shader-...
SpartanzNeverDie's user avatar
0 votes
1 answer
512 views

Unity Shader Graph Fog node shows density inverted when using Linear Fog. Also not properly showing the color of the fog on far objects.
Iroqas's user avatar
  • 77
0 votes
1 answer
1k views

I've made a transparent texture to use on a glass jar model. (1024 x 1024 PNG) I've applied the following settings to the texture and the preview looks good. But when I sample the texture in shader ...
HenryJ's user avatar
  • 75
0 votes
0 answers
62 views

Does anyone know how to distribute a regularly spaced pattern across arbitrary geometry in Unity Shadergraph or HLSL? Here are the requirements: The geometry will all have the same shader We know ...
Kit MacAllister's user avatar
2 votes
1 answer
582 views

I've been trying to achieve a basic twirl shader effect and I'm pretty close to achieve it. I'm new to shaders and dont understand what's going on here. I have a spritesheet with several characters, ...
Jorge Santos's user avatar
0 votes
0 answers
2k views

I want to recreate the "Moebius" style in Unity. I have found this video where someone achieves it, but he only shares the concept and the result and not the source code. Here are some ...
bob0815's user avatar
  • 21
0 votes
1 answer
105 views

I tried to render Sprite shadow with the Shader Graph. But as you can see, the tree is rendered mistakenly before the house. The tree is rendered before the house You can see that the tree is actually ...
Laurent Charles's user avatar
1 vote
3 answers
2k views

I wish to control the transparency of a model during runtime. The model's material is connected to a shader graph. After changing the Surface Type of the shader graph to Transparent, an Alpha ...
Amarth Gûl's user avatar
  • 1,090
0 votes
0 answers
745 views

I had reached for here while struggling with some problems about applying a Package to Unity. Problem I’m trying to apply “Shader Graph [v. 12.1.10]” package into Unity [v. 2021.3.20.f1] but there is ...
J4BEZ's user avatar
  • 406
0 votes
1 answer
402 views

im making water shader and just realized that i can see water depth effect in editor: but i cant see it in game window: how do i fix this?
Mirai's user avatar
  • 135
0 votes
0 answers
73 views

In Editor, no problem. However, After build, the shader disappeared. How can I solve this problem? I included it in the always included shader but the results are the same. Platform is Android.
RpDev's user avatar
  • 25
0 votes
1 answer
102 views

Blender export settings ShaderGraph when object origin is object centre in Blender, Object position in shader graph works correctly same object with above, but bigger size, same export settings, (...
Noworrytmr's user avatar
0 votes
1 answer
460 views

I'm in the Unity ShaderGraph and want to add displacement to my shader. I have this Voronoi setup example, which leaves me with a Vector 1 output. I can plug that into the multiply and displacement ...
Marc Teuber's user avatar
2 votes
1 answer
907 views

I'm learning shader graphs but my animations stop if I'm not in play mode. Doing anything in the editor/game window causes the animation to play again. Even moving the mouse over the window is enough. ...
Doruk's user avatar
  • 415
0 votes
1 answer
458 views

Context I've been trying to create a buoyancy script that samples the position of a point, tests if it's under a certain level (the "water level"), and adds a force on that position based on ...
feenix's user avatar
  • 1
0 votes
1 answer
184 views

Quick summation: I am attempting to create an ocean comprised of planes that can be easily loaded and unloaded based on distance. On this ocean I want a boat to sail with a player onboard in the first ...
Bantle's user avatar
  • 29
1 vote
2 answers
2k views

i created a material with shadergraph and want to assign it as skybox material. Now i got the problem, that, if i assign it to the environment -> skybox material in the light settings, it is ...
THDevelopment's user avatar
0 votes
1 answer
155 views

I have a image: The upper part of this image, which alpha value is 1 (or 255 in RGBA) The lower part of this image, which alpha value is 0.3, I used it for shadow in game. So When I import it to Unity ...
ConnonsWonderland's user avatar
1 vote
1 answer
3k views

I started using shader graph and created one shader, then I tried building my game however I get this error: Shader error in 'Shader Graphs/blend': 'PBRDeferredFragment': cannot convert from 'struct ...
Jekuper's user avatar
  • 33
0 votes
1 answer
519 views

About a week ago I opened shader graph in one of my projects when I noticed the connections between nodes are just gone (like shown in the image). The shader still works just fine as if the ...
MajklDove's user avatar
0 votes
1 answer
75 views

I have a shadergraph where I pass position of gameobject as a value. Below is the code I tried for that but I get NullReferenceException. public Material m; private Transform player; private ...
prkash's user avatar
  • 449
0 votes
0 answers
154 views

(Unity version 2020.3.27f1) Hello, I have created a gerstner wave shader for my game, but after exporting the game to Xbox X and trying it out, it is incredibly slow, getting 5-10 fps. Disabling the ...
Jonathan Scoffin's user avatar