Question by
unity_MNQIppE9XkNhkw · May 08, 2021 at 12:45 PM ·
shaderraycastraycasthitglow
How to outline 3D model in URP?
Good weekend everyone, I'm looking for some tutorial/script how to make 3D object outline with original image texture (eg. stick with wood texture). I would like to when the raycast hits the object (I'm able to detect with object is raycast hitted), the object will be outlined/glowed.
I tryed many tutorials on youtube, finding shaders script, etc, but I'm using URP Unity 2020 and some shaders is not working - only pink material, or works different. Emitter material is not good too, because there is no original texture. I'm stuck on this for few days. I'm a newbie in the Unity community.
Thank you very much for your help. :)
Comment