DEV Community 👩‍💻👨‍💻


Posted on

One of the advantages of switching to a completely new code

The new code provides competent mechanics. Previously, the pen had strange reflections. The problem was in the 2D rendering of Unity itself: the glass shader did not work with "sprite-render" if the layer in the sprite was greater than 1.
Refraction works with new code.

Alt Text

The game is still in development support me :)

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.