10-09-2020, 10:17 AM
(This post was last modified: 10-09-2020, 10:18 AM by josemendez.)
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.
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.