From 92e2d91d093c36e68d09ea6969d3ca3c12bbe625 Mon Sep 17 00:00:00 2001 From: Rod Kay Date: Wed, 28 Feb 2024 22:25:32 +1100 Subject: [PATCH] opengl.light: Change light defaults. --- 3-mid/opengl/source/lean/light/opengl-light.ads | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3-mid/opengl/source/lean/light/opengl-light.ads b/3-mid/opengl/source/lean/light/opengl-light.ads index eed9d1b..42e6a97 100644 --- a/3-mid/opengl/source/lean/light/opengl-light.ads +++ b/3-mid/opengl/source/lean/light/opengl-light.ads @@ -60,11 +60,11 @@ private On : Boolean := True; Site : openGL.Site := [0.0, 0.0, 1.0]; -- The GL default. - Strength : Intensity := 1.0; + Strength : Intensity := 1.0; Color : openGL.Color := Palette.White; - Attenuation : Real := 0.1; - ambient_Coefficient : Real := 0.1; - cone_Angle : Degrees := 2.0; + Attenuation : Real := 0.0; + ambient_Coefficient : Real := 0.0; + cone_Angle : Degrees := 90.0; cone_Direction : Vector_3 := [0.0, 0.0, -1.0]; end record;