Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

What is the best way to move a mask in a shader in a square path in Unity Shader Graph?

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
0 votes
3 answers
464 views

How to use a Shader Graph to layer a texture over a sprite without being affected by the sprite's alpha?

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
0 answers
96 views

How to project textures on to the mesh and overlap them like in Let’s Play Pottery?

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
242 views

Water shader Breaks on Build

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
55 views

Why do my shaders render differently in the simulator?

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
183 views

How to add a toon / cel shader to a URP 3D project?

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
1 answer
792 views

Creating a pinch distortion shader

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
1 vote
1 answer
460 views

Unity shader to give thickness to flat plane

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
1 answer
229 views

How does vector raised to the power of another vector work?

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

If UV coordinate is Vector2, then why does UV node in shader graph output Vector4?

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
1 answer
628 views

Cubemap rotation

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

How to create intersection shader that simulates squishing?

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

How can I map a texture around a sphere without a seam?

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
0 votes
0 answers
881 views

How to make shader graph RenderTexture deform effect more accurate?

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
105 views

Get vertices back from shadergraph?

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

15 30 50 per page