Questions tagged [shader-graph]

115 questions
0
votes
1 answer

"Rotate" a texture around a sphere using Shader Graph?

Let's say I have a sphere with a certain rotation and a texture on it. Is there a way to have a material on a different sphere with that same texture, such that the sphere will display the texture at the same rotation of the first sphere without…
obieFM
  • 63
  • 10
0
votes
1 answer

Cubemap skybox in Shader Graph

How to make a cubemap shader for a skybox in a shader graph? My shader is on the screenshot, but it does not work. I couldn't find a solution on the internet. Shader Graph Screenshot
Rox
  • 19
  • 6
0
votes
1 answer

i don't want seeing the back side of an object in a transparent state in Shader Graph

this The problem is that you can see behind the scenes in transparent state. my project view forward view right As you can see, all bones are already using transparent objects. this is shader graph shadergraph i using hdrp unity 2021.2.7f
0
votes
2 answers

How can I get the actual size of a gameobject in shadergraph?

I need to get the actual size of the object within shader graph. I currently only have the Object > Scale node or the option of manually setting the size of object in runtime. Is there some way I can easily get the size of the object (or bounds)…
0
votes
1 answer

How can I fix this skybox seam(Unity)?

there! I've used Unlit Shader Graph to make this skybox, and it looks mostly fine, but there is that annoying seam in the sky I don't know how to fix. Can anyone help? Sky box seam in scene view The same seam, but with more stars Skybox…
Rambo Dash
  • 49
  • 1
  • 9
0
votes
1 answer

Is it worth keeping the built-in render pipeline?

I've been having trouble creating a simple shader for overlaying a png onto a background color as a material. I've done a lot of searching, and almost all solutions seem to be using a shadergraph. I tried it, and it works.. but I would have to…
ZaTTTel
  • 39
  • 5
0
votes
1 answer

shader graph messes up the texture (Unity 2D)

i am trying to make a glow shader but. when i add that _MainTex property this happens:- shaded shaded wireframe I tried changing the mesh type to full rect but when i do that this happenfull rect mesh types :- I don't know whats the problem plzz…
Yash Verma
  • 48
  • 2
  • 7
0
votes
1 answer

Unity Shader Graph Radial Fill

I'm trying to recreate shader that behaves like Radial Fill Image in UI. Here's URP Unlit shader: But there's a problem. I want to limit my output to alpha to be only either 0 or 1, because the result is grayscale which produces unwanted looks. So,…
stroibot
  • 808
  • 1
  • 11
  • 25
0
votes
1 answer

How to use alpha in unity unlit graph for particle system without make it disappear?

Howdy Guys ! I'm using the unity's graph system , but when I take the Alpha from split and connect it to the Unlit Master's Alpha , the preview dissapear and when i add it to particle system as a shader , nothing works !!!! What is the problem ?
0
votes
1 answer

Shader graph is cutting off the top row of pixels from texture2D

I have a shader for highlights and outlines that works just fine, except in one small but hugely annoying way: https://i.stack.imgur.com/vfsNx.png https://i.stack.imgur.com/N3mG6.png My sprite is divided into separate Gameobjects for 'player',…
0
votes
1 answer

Unity: access sprite secondary texture in shader for UI canvas image

In Unity, I have a sprite with the usual _MainTex and an additional _inner texture defined as secondary texture in the sprite editor. In shaderGraph, when I want to access this secondary texture for a material meant for the sprite renderer, I can…
Giezi
  • 140
  • 1
  • 10
0
votes
1 answer

All shaders render black while using shadergraph in unity 2020 1.10f

I am doing a simple animation in unity and I wanted to add portal efecct using shadergraph 8.2.0 and everything renders black like this shader setings I have no clue whatsoever what it is
half0man
  • 21
  • 4
0
votes
1 answer

Unity Shader Graph, UV Map decomposition to use as opacity gradient

I'm still trying to learn how Unity Shader graph works but I hit a wall. I'm getting the UV map, which I know ranges from 0 to 1 in the red channel and 0 to 1 in the green channel. I'm extracting the red channel to blend two textures together but…
0
votes
1 answer

How do you fade out an object in a scene from an animation clip?

I have a scene in Unity, with animated assets. The animated asset is a custom prefab effect with multiple animated objects nested within it. The asset runs in a loop, all the objects are assigned a PBR shader using shadergraph. Some of the assets…
angryITguy
  • 9,332
  • 8
  • 54
  • 82
0
votes
1 answer

How can I dynamically make only a certain part of my sprite transparent? Through a Shader or something

I have a sprite for my player character and would like to add a ghost effect to the sprite. I simply want to make a transparent version of the character. The issue is I have my player graphics split into different pieces to make animation easier so…