All Questions
7 questions
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 ...
1
vote
1
answer
817
views
Unity Texture2D.ReadPixels not reading correctly from rendertexture
Basically I want a function that can take screenshot to a thumbnail in runtime.
here is my code run after RenderPipelineManager.endCameraRendering in URP in 2022.3:
private void TakeScreenshot(int ...
0
votes
0
answers
438
views
Is there a way to make the effect of camera clear flags on render texture in URP Unity
I'm making a fog of war effect and I want to use the camera no clear flags method that used to be available to paint the trail of vision for many units. The ability to do the clear flags method seems ...
2
votes
1
answer
2k
views
why my skybox disappeared after I added the urp package?
I want to add light2d to my project, but it's a decision I made after months I started the project, so then I added the urp package.
But something strange happended: my skybox disappeared. I mean, it ...
4
votes
1
answer
4k
views
Make a URP renderer feature affect only the current camera
I'm making a renderer feature with a single ScriptableRenderPass. This renderer feature is present on a single 2D Renderer, like so:
and I have a single camera that is using this renderer, that only ...
1
vote
1
answer
7k
views
How to change a property of the URP asset via Script in Unity?
I want to change the Render Scale value via code. I don't want to create multiple assets just to change that but if there isn't other way I would also appreciate help on that. There is almost no ...
2
votes
0
answers
4k
views
Converting unity OnRenderImage() to URP
I am making a game with a pixelation shader. I downloaded this shader from the web, and it works with the default render pipeline. I want to use the URP for other purposes. When using the URP, the ...