Astrabit-ST / Luminol

An RPG Maker XP-VX Ace rewrite, written in Rust with love 💕
https://luminol.dev/
GNU General Public License v3.0
101 stars 12 forks source link

Implement grid shader #102

Closed white-axe closed 7 months ago

white-axe commented 7 months ago

Connections

Description This pull request implements a shader for drawing grid lines on the map editor and the tilemap.

The lines have a light outline and a dark fill to offer enhanced contrast in a variety of environments. They also scale in thickness with the screen resolution which is important for people with very large screens.

Testing The shader has been tested to work with Vulkan, WebGL and WebGPU by opening a map and observing that no crashes occur.

Checklist