Skip to main content
5 votes

Why is my Post Processing not working?

URP comes with its own implementation of post processing. You cannot use the regular "Post-process Volume" or the "Post-process Layer" with the Universal Render Pipeline. You need ...
John's user avatar
  • 264
5 votes

Why are all materials pink in my Unity URP project?

To upgrade built-in Shaders (ref): Open your Project in Unity, and go to Edit > Render Pipeline > Universal Render Pipeline. According to your needs, select either Upgrade Project Materials to ...
Muhammad Faizan Khan's user avatar
4 votes
Accepted

What are the benifits to Unity's SRP vs Built-in render pipeline

Well, eventually the built-in renderer may be deprecated and SRPs may become standard. Something important to mention is that currently, the SRPs are much more complete and stable compared to other ...
YoshGJ's user avatar
  • 505
3 votes

Weird blue shine on URP Lit shader Unity

This appears to be colored light emitted by the skybox. When you don't want the skybox to act as a light source with the color of its textures, then Open the lighting window (Menu entry Windows->...
Philipp's user avatar
  • 120k
3 votes
Accepted

Why is this back-facing texture showing through?

When you set a material to be transparent, by default this also disables it from writing to the depth buffer. This is important for avoiding ugly cut-out effects, where a transparent or faintly ...
DMGregory's user avatar
  • 135k
2 votes

How can I tint the color of a decal in Unity?

Unfortunately this does not seem possible with the default decal projector shader. Fortunately creating your own shader that does this is super easy! First create the decal projector and add your ...
Charanor's user avatar
  • 7,870
2 votes

Strange shiny reflection on terrain

What @Marc-Diprose said worked for me. Follow these steps to remove the shiny blot: Locate your texture in Unity's File Explorer. Click on the texture that is giving you an issue. In the Inspector ...
David Sopala's user avatar
1 vote

Strange shiny reflection on terrain

On the texture import settings, make the Alpha 'From grayscale' and if that alone doesnt fix it, change the format to RGB 24 BIT to discard the alpha channel - the alpha channel is what causes the ...
Marc Diprose's user avatar
1 vote
Accepted

Displaying Precisely Scaled Images With URP Decal Projector

Textures are mapped in normalized coordinates, so 1.0 is the far side of the texture, no matter whether it's 2 pixels wide or 2000. But you van easily achieve an exact aspect ratio by scaling the with:...
DMGregory's user avatar
  • 135k
1 vote
Accepted

Can we use Universal RP shaders for some objects and Mobile shaders for other objects in a Unity scene?

No, you can't. Shaders are always developed for a specific render pipeline. And your project can only use one render pipeline at a time. So if you want to migrate your project to the URP, you have to ...
Philipp's user avatar
  • 120k
1 vote
Accepted

How to create a ScriptableRenderPass that renders normally, with lighting?

While I haven't full achieved what I wanted to do via the command buffer, a big step is to not use cmd.DrawRenderer(renderer, renderer.sharedMaterial); as it will ...
danglingPointer's user avatar
1 vote
Accepted

The Unity 2021 URP 2D Renderer Sprite-Unlit-Default material transfers transparency of layered sprites to render texture

This occurs because of this line in the default unlit sprite shader: Blend SrcAlpha OneMinusSrcAlpha This says to use the standard "layer" transparency ...
DMGregory's user avatar
  • 135k
1 vote
Accepted

Render texture not rendering camera output correctly

Ok so with the help of the comments I fixed it. I changed the Deapth Stencil Format of my render texture and it worked. Note that this comes with bigger texture size. Here are my render texture ...
Ivan's user avatar
  • 339
1 vote

After adding a new Assembly File the "Volume" class is no longer found

The Volume class is part of the UnityEngine.PostProcessing namespace, so you will need to add a reference to the ...
Yovez's user avatar
  • 11
1 vote

Possible to render true HDR from Unity URP on supporting display?

When tempted to ask "does [engine] support [feature]", it pays to do a quick search first. Let's type "unity hdr output" into a search engine. The very first result is Unity - ...
DMGregory's user avatar
  • 135k
1 vote
Accepted

Cloud based fog of war

Thanks to Mangata for finding this tutorial. It was exactly what I was looking for. Using a small hexagonal tile I made in blender, I followed the tutorial to create the shader in ShaderGraph. In game,...
jm-laliberte's user avatar
1 vote

How do I fill a scene with light by using real-time lights in Unity?

You can adjust the ambient lighting of the scene from the Lighting Window in the Unity Editor. Ambient lighting is present throughout the scene and doesn't come from a specific light source; it's an ...
Kevin's user avatar
  • 6,235
1 vote

Lights beyond the fourth do not appear?

Let me tell you URP limitations: Main Directional Light 1 Per Object: 8 (4 for GLES2). Can be point, spot, and directional Lights. Per Camera: 256 (32 on mobile platforms) For more info: URP ...
Muhammad Faizan Khan's user avatar
1 vote
Accepted

Edge bleeding with opacity map

Select the texture in your Assets folder, and change the Wrap Mode to Clamp. This says that samples near the edge of the texture should clamp to the pixel on that edge, instead of repeat which wraps ...
DMGregory's user avatar
  • 135k
1 vote

Raycast is not restricting by other layer collider

This is unrelated to URP. That's part of the rendering system, while raycasts are handled by the physics system, and it's the same physics system no matter what renderer you use. When you give a layer ...
DMGregory's user avatar
  • 135k
1 vote

Why are all materials pink in my Unity URP project?

I followed all the steps above and only ran into trouble with upgrading materials. I'm using Unity 2022.3.18f1 and found the final step to upgrade materials is actually now: *select materials Edit>...
banjo_frette's user avatar
1 vote

Why are all materials pink in my Unity URP project?

In addtion to what has being said, you might check if there is indeed a Render Pipeline selected in your project. Go to Edit > Project Settings > Graphics Check if Scriptable Render Pipeline ...
Ramon Dias's user avatar
1 vote

Why are all materials pink in my Unity URP project?

A way I've managed to fix this is by right-clicking on the Project then selecting "Reimport all".
top kuche's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible