142 questions
2
votes
1
answer
53
views
Random noise from shader in unity
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
70
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 (6000.0.34f1) with Universal RP 17.0.3. The shader works perfectly in the Built-in Render ...
0
votes
0
answers
55
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
50
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
0
answers
43
views
Unity Build Visual glitch
I have two orthogrphic cameras in a scene, one is for to render 3d models(Env) and one is to render UI.
There's also world space canvas to render UI on 3d models.
Everything looks correct in editor ...
0
votes
0
answers
16
views
Dynamic illumination of terrain by game object with emission material
Is it possible to have a game object (I have written my own shader for this, which creates a dynamically changing colour gradient with bloom) radiate onto the terrain?
I just can't get it to work ...
0
votes
1
answer
80
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
127
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
204
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
88
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
62
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
493
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
48
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
0
answers
21
views
How about CameraSwitcher in Unity URP
When I modified the camera using the Rendering Debugger window, it did not display correctly on the Game view.
When I change the order of the CameraSwitcher array, if I mount the camera first, I can ...
0
votes
0
answers
1k
views
Error CS2006: Command-line syntax error: Missing '<text>' for '-define:' option when installing URP in Unity 2021.3.15f1c1
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 ...