shaked
shaked

Reputation: 43

Objects graphic messed up when adding lightweight render pipeline

I built a portal shader and it required me to use Lightweight Render Pipeline. i upgraded all the object materials to lightweight materials and i created a lightweight renderrer pipeline and put it in the graphics settings. Althoug,still some of the objects are pink. is there any way to fix it? Thank you

I did what they said in "Lightweight Render Pipeline in Unity turned everything pink" but still then some of the objects left pink.

Sorry about this short qeustion, i am new at it. If you dont unsderstand my question feel free to ask

Edit: Ruzihm solution was working for me, thanks him :D

Upvotes: 2

Views: 791

Answers (1)

Ruzihm
Ruzihm

Reputation: 20249

You are using shaders that are incompatible with the LWRP. The Unity Editor can try to automatically replace them with compatible ones. In the menu, do Edit -> Render Pipeline -> Upgrade Project Materials to LightweightRP Materials, and then Unity will do its best to upgrade the materials/shaders.

This may be only a partial solution depending on if Unity can find a suitable replacement for all of your shaders or not.

For the ones Unity can't or won't upgrade, you can try configuring them with default LWRP shaders by inspecting the material on those objects, clicking Shader, and then selecting Lightweight Render Pipeline > Lit or Lightweight Render Pipeline > Unlit depending on if you want lighting effects or not.

For the terrain, you can replace its current material with the TerrainLit material:

Where to set it:
where to set terrain lit

Where to find it:
where to find the terrain lit
[images source]

Upvotes: 1

Related Questions