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

Yes, that's the renderer feature. It uses many different shaders to render the fluid to the screen.
It's just not possible for the entire screen to be pink if there are no compilation errors in any shader. Try the following:

- Go to the Obi/Resources/ObiMaterials folder in the project view.
- Select all shader files there, one by one, check if any errors are shown in the inspector.

- Go to the Obi/Resources/ObiMaterials/URP folder in the project view.
- Again, select all shader files there, and check if any errors are shown in the inspector.

Code:
Shader error in 'Obi/URP/Fluid/FluidShading': unrecognized identifier 'sampler2D_CameraOpaqueTexture' at Assets/3rd Party Assets/Obi/Resources/ObiMaterials/URP/ObiFluidsURP.cginc(12) (on d3d11)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_DLDR_ENCODING

Code:
Shader warning in 'Obi/URP/Fluid/FluidShading': implicit truncation of vector type at Assets/3rd Party Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(10) (on d3d11)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_DLDR_ENCODING

Code:
Shader warning in 'Obi/URP/Fluid/FluidShading': implicit truncation of vector type at Assets/3rd Party Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(17) (on d3d11)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_DLDR_ENCODING

[code]Shader warning in 'Obi/URP/Fluid/FluidShading': implicit truncation of vector type at Assets/3rd Party Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(30) (on d3d11)



Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_DLDR_ENCODING[/code]
Reply


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