Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Everything appears pink after setting the ObiFluidRendererFeature to the pipeline
#9
(10-09-2020, 10:17 AM)josemendez Wrote: Hi there,

There's a typo in Assets/Obi/Resources/ObiMaterials/URP/ObiFluidsURP.cginc.

"sampler2D_CameraOpaqueTexture"

should be

"sampler2D _CameraOpaqueTexture"

Note the whitespace between the variable type and its name. If you put it all together with no spaces, the compiler will think it's a type, and will rightly complain that "sampler2D_CameraOpaqueTexture" is not defined anywhere.

Thanks! that solves the problem!
Reply


Messages In This Thread
RE: Everything appears pink after setting the ObiFluidRendererFeature to the pipeline - by qwzzz - 10-09-2020, 10:43 AM