limoka / DSP-Mods

An example how to add a custom model with your mesh and animations
MIT License
32 stars 10 forks source link

[BUG] - belts construction line template lost with terrain elevation #42

Closed pilow90 closed 2 years ago

pilow90 commented 2 years ago

Describe the bug minor bug since it doesn't break functionality.

when you select a belt to place on the grid map, if the terrain is high (like mountains or elevated terrain) the template line (white line that draws how long you want to place the belt line) goes under the elevated terrain texture and is no longer visible, you can build the belt tho, it seems to work as intended on flat terrain or foundations.

To Reproduce Steps to reproduce the behavior: 1 - select any belt from MK1 to MK4. 2- draw a construction line under an irregular terrain.

Additional context replicate this bug running this mod only with dependencies. also tried running only dependencies with this mod disabled and wasn't able to replicate the bug.

2022-02-09 03_23_17-Dyson Sphere Program

limoka commented 2 years ago

This minor issue is caused by my replacement shader for this UI element. I'm not planning on trying to figure out why this happens, so this is unlikely to be fixed.