17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-06 23:13:00 +01:00

Add the optional Radius, ShadeSelf, CastShadows and SoftFalloff of FreeSpotLight and make FalloffAngle 360 a point light

This commit is contained in:
2026-10-28 16:18:03 +01:00
parent 413cebed9c
commit c4e23932bf
25 changed files with 327 additions and 72 deletions

View File

@@ -68,6 +68,7 @@ class opengl46_local_shadows : public gfx::local_shadows
private:
void set_layer(int const Layer);
void set_near(float const Near);
std::unique_ptr<gl::program> m_program;
std::unique_ptr<gl::program> m_alpha_program;