ColinLeung-NiloCat / UnityURPUnlitScreenSpaceDecalShader

Unity unlit screen space decal shader for URP. Just create a new material using this shader, then assign it to a new unity cube GameObject = DONE, now you have unlit decal working in URP
MIT License
1.26k stars 129 forks source link

I dont see decals on mobile! #22

Open Proton-V opened 4 years ago

Proton-V commented 4 years ago

I dont see decals on mobile! Help me, pls

umutbebek commented 4 years ago

Hi, i tested it on s10Plus android phone and it did not work too but :) Be sure you have enabled "depthTexture" on PipelineAsset And be sure that "Quality" setting is using that PipelineAsset, for example i setUp the HighQuality Asset but Quality for android was using "mid" level. So it was using another Asset :) I changed it to use "high" level and voila :) it worked. Hope that helps everyone. And thanks for that amazing shader Colin :)

Proton-V commented 4 years ago

I set this, but my zte not showing decals( Editor show in real time, but phone have error

umutbebek commented 4 years ago

Hi, here are my settings and it works, not sure what may be the problem? Maybe vulkan? I am using opengles3 only build. https://lh3.googleusercontent.com/-TwezTY00Z6c/X3WmotQ-XRI/AAAAAAAACBk/Eu0FmoOSyugZ4bgqCij2bvrECnPH7fxVgCK8BGAsYHg/s0/2020-10-01.png https://lh3.googleusercontent.com/-TSQ5Adw2sXw/X3Wmxi_DerI/AAAAAAAACBo/wLOuvX-3pIsWzokSKRvIMW4S2wxgMp-ZACK8BGAsYHg/s0/2020-10-01.png

ColinLeung-NiloCat commented 3 years ago

I retested the shader using 2020.2.01f, URP 10.2.2, PC editor, android build, Vulkan. I can confirm the problem doesn't exist in 2020.2.01f, URP 10.2.2, PC editor, android build. @Proton-V is the problem still exist now?