This is an old revision of the document!


Lights

The framework support the default Firemonkey TLight and the TGorillaLight component. Both components work almost the same currently, but in the future they could differ significantly.

If lights are loaded from files like FBX, DAE or G3D the framework will create instances of TGorillaLight and link the TLightDef definition in the Def property of the light source.

You can select the light components from IDE components palette or create them at runtime.

var FLight : TGorillaLight;
 
FLight := TGorillaLight.Create(GorillaViewport1);
FLight.Parent : GorillaViewport1;
FLight.LightType := TLightType.Point;
FLight.Position.Point := Point3D(0, -25, -10);

Multiple Lights

We support multiple light sources depending on which platform (Windows/Android) is used.

Platform Lights-Limit
Windows 32-Bit
Windows 64-Bit
Android 32-Bit
Android 64-Bit