There is a Triangle in the game which is supposed to behave like a prism and light rays pass through it in a refracted manner. There are also mirrors in the level which perform reflection.
We are using Linerenderer to render the ray.
We have written our own script for refraction of light through the triangle, using Snell's Law of refraction.
Problems that we are facing in Refraction Class script
1. Number of Refraction/Reflection of Linerenderer is not consistent.
2. Reflection and refraction do not occur simultaneously and consistently.
3. The uneven flickering of reflected and refracted rays.
Please revert back if you need any more information.
P.S : will attach project on request.
7 фрилансеров(-а) в среднем готовы выполнить эту работу за $208
hi, can you please send me the project to check it and the refraction/reflection current script please? I've good background of geometry and Math/ I'm using unity 5 free edition with c# scripting by the way. thanks