mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 09:27:10 +01:00
c79917b497
A texture named with :r (the frames of the animations baked into textures, mat_vat) is never scaled down to maxtexturesize nor compressed by the driver with compresstex: its texels are data, not a picture. gl::scene_ubs::camera_hi, camera_lo: the place of the camera of the pass in the world, which the models are drawn relative to, split so both parts are exact in floats. Set with inv_view in every pass that has it (the color pass, the faces of the environment map, the sun cascades, the headlight shadows, the previews). mat_vat.vert takes the place of a model in the world from them, so models standing turned the same way still get a moment of the animation of their own, the same in every pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GXgG7F4L42c2F9sDSAJbT2