Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Backface URP Material
#2
Hi,

(26-09-2024, 09:42 AM)vrtraining Wrote: any plans to support URP backface shader in future?

Obi does not require any specific shader to work, shaders don't require any specific setup to work with Obi either. So we can't "add support" for a specific shader, since all shaders are already supported.

The problem is that URP's Lit Shader in backface mode doesn't invert the normal of back faces (regardless of being used on a Obi object or not), which will cause both sides of the object to receive the same lighting. It's trivial to make a proper two-sided URP shader yourself, though: all you do is check whether it's a front face, and if it's not you invert the normal.


[Image: msmBxaX.png]

(26-09-2024, 09:42 AM)vrtraining Wrote: If we change our model add 2 side faces then it might not work in Obi Cloth Blueprint.

It will work fine, however this is more tedious to set up and considerably costlier as it doubles the amount of geometry in your mesh.

kind regards,
Reply


Messages In This Thread
Backface URP Material - by vrtraining - 26-09-2024, 09:42 AM
RE: Backface URP Material - by josemendez - 26-09-2024, 10:25 AM
RE: Backface URP Material - by vrtraining - 26-09-2024, 11:30 AM