17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-18 21:59:18 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
maj00r
db49039b9d Put the editor viewport into a top-down orthographic plan view
Opening the Plan tool now switches the whole colour pass to an orthographic
projection and pins the camera looking straight down, so the plan is drawn
against the loaded scenery rather than in a window of its own. Closing the
tool hands the camera's orientation back; leaving the editor clears the view
outright. The wheel changes how much ground fits on screen instead of moving
the camera, which with no perspective would change nothing but the clipping.

Both configured backends follow: the experimental renderer swaps the pass
projection (and fits its shadow cascades to it), the modern GL renderer uses
its existing ortho helpers. Everything reading the pass projection - the
mouse ray, the frustum test - picks the change up on its own.

The experimental renderer also publishes its colour pass camera now, which
it previously left at the interface defaults, so overlays can place world
points on screen.
2026-08-27 19:36:55 +02:00
0715437108 Fix include directives 2026-03-14 20:51:11 +01:00
copilot-swe-agent[bot]
4b1913438d Fix #includes in betterRenderer and ci_shadervalidator after file reorganization
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com>
2026-03-14 19:26:52 +00:00
Wls50
76d5d3831d refractive material support contd. 2025-12-04 21:44:00 +01:00
Wls50
ff50fdf110 add refraction support for materials; two pass rain shader 2025-12-04 21:43:51 +01:00
Wls50
90538c8878 initial rain material optimizations 2025-12-04 21:43:44 +01:00
Wls50
593a8a288f add depth prepass in preparation for moving from deferred back to forward renderer 2025-12-04 21:43:34 +01:00
Wls50
596ff9d5c2 squash commits from internal:
use gfx queue when loading dynamic textures
fix possible timeout in light culling
exclude lods & transparencies from lod test
add cpu-side submodel structure for ray testing
2025-11-16 19:00:38 +01:00
a39d972126 Some renaming 2025-04-15 01:32:56 +02:00