140 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
71
views
URP stencil volume disappears when no objects are inside it
I am new to HLSL and I am trying something simple, but for some reason can't get it right.
I'm using URP with two Render Objects features:
Write Stencil Volumes (layer: OcclusionVolume), which ...
1
vote
0
answers
49
views
Seeing both 2 faces of the mesh in Unity
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 ...
2
votes
2
answers
124
views
How to remove random noise from shader?
While working with a custom shader in hsls in unity 6 which swaps out the colors on an image with another set of colors I managed to get the colors to be recognized and swapped out properly but I now ...
0
votes
0
answers
143
views
Convert a Custom Shader to URP in Unity6
I am trying to convert my custom terrain shader to work with the Universal Render Pipeline (URP) in Unity6 (6000034f1) with Universal RP 17.0.3. The shader works perfectly in the Built-in Render ...
0
votes
0
answers
74
views
How do I apply Post Processing to UI but not to the rest of the scene?
Goal: Get functional/interactable UI with separate post processing than other objects in scene
I’ve tried the following:
Camera Stacking
makes the camera at the bottom of the stack also affected by ...
1
vote
0
answers
69
views
Unity URP Tessellation Shader Error After Built-up(Only)
I'm struggling with one strange problem. My urp project's tessellation shader doesn't work after I build it.
I tried to use the tessellation shader (follow some tutorials and modified) to create the ...
0
votes
1
answer
130
views
Color is not matching after applying URP post processing in Unity
I am trying to replicate google model viewer rendering look and feel in Unity 2022年3月22日.
I am using URP sample demo project with high configurations.
I have added the same HDRI setup in my Unity scene....
0
votes
1
answer
185
views
How do you add a texture to a custom shader's instance properties in Unity? (URP)
I'm writing a 2D game in Unity using the Universal Render Pipeline so that I can take advantage of its automated lighting. I've written a shader that already makes use of some instanced properties, ...
0
votes
1
answer
327
views
Custom Shader with URP
I am using a custom shader for a mesh, which is basically a "sight-blocker" to other meshes.
You cannot see the mesh itself and every other mesh behind it is occluded by it.
Now I upgraded ...
0
votes
2
answers
118
views
Unity URP set decal Base Map via script
private void GenerateBrushTexture()
{
int textureSize = Mathf.CeilToInt(radius * 2);
brushTexture = new Texture2D(textureSize, textureSize);
for (int x = 0; x < textureSize; x++)
{
...
0
votes
0
answers
77
views
Converting Unity Built In RenderPipeline shader to URP shader
I am working on the Unity Learn 3D Game Kit. But in URP project, shaders are not working as expected. So i have to convert them to URP.Below code is from 3D Game Kit shader. I am not good at shader ...
0
votes
1
answer
836
views
WebGL URP materials pink when build but look fine in editor (shader created with Amplify Shader Editor)
My problem is very similar to Unity WebGL ok in editor, pink screen in build but the offered solution does not work. Like in the question, the materials look fine viewed in the Editor but when ...
1
vote
1
answer
60
views
Unity shader graph converting issue
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.
...
0
votes
1
answer
2k
views
Error CS2006: Command-line syntax error: Missing '<text>' for '-define:' option when installing URP in Unity 2021年3月15日f1c1
I encountered the following error when installing URP into an existing project:
error CS2006: Command-line syntax error: Missing '<text>' for '-define:' option
I couldn't find any solutions ...
1
vote
0
answers
615
views
How to Achieve See-Through Effect in Unity URP
I am using Unity 2022年3月16日f with the URP, and I want to create an effect where you can see through object A to object B, as shown in the attached image:
Here is the shader code for object A:
Shader &...