Need assistance with a game feature and it's script for a Unity 2D mobile game
该项目收到14 来自天才威客的竞标，平均竞标价格为$209 USD。为像这样的项目获取免费报价
项目预算$30 - $250 USD
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.
- The New York Times
- Wall Street Journal
- Times Online