20-07-2020, 08:11 AM
(This post was last modified: 20-07-2020, 08:16 AM by josemendez.)
Quote:AND THERE IS CRITICAL BUG on pc
https://prnt.sc/tkwe9k
sampler2D_float is a valid high-precision sampler declaration, as stated in the Unity docs.
https://docs.unity3d.com/Manual/SL-DataT...ision.html
Check if your platform supports high-precision (floating point) textures. If it doesn't (which is very strange, as most modern GPUs do, even mobile ones), you can replace the sampler2D_float declaration in Obi/Resources/ObiMaterials/URP/ObiFluidsURP.cginc with sampler2D. That will fix it. From Unity's docs:
Quote:Most modern mobile GPUs actually only support either 32-bit numbers (used for float type) or 16-bit numbers (used for both half and fixed types). All PC GPUs that support Direct3D 10 support very well-specified IEEE 754 floating point standard. Mobile GPUs can have slightly different levels of support.
Quote:so, I deleted FluidShaderURP.shader, OpaqueFluidShaderURP.shader then editor is normal,
https://prnt.sc/tkwi79
By deleting the shaders, the fluid renderer will no longer work. They are needed for fluid to be rendered at all.
Quote:but huge warning, fluids not appear
https://prnt.sc/tkwpg2
This is of course due to the fact that you simply deleted the shaders used to render the fluid. You can't delete required files and expect things to still work.