Did you know: User Textures at DesignTime

Опубликовано: 17 Июнь 2026
на канале: Gorilla3D
35
2

Did you know you can add textures easily at design time to your DefaultMaterial?

In this example we show how to implement alpha masking with a transparent cube and a masking texture at design time.
By writing a SurfaceShader you can use your texture name with the prefix "_".
Take care, we currently only support total max. 16 textures in a single shader (incl. Shadows, Environment, NormalMap, ...).

#gorilla3d #gorilla3dfmx #delphi #fmx #firemonkey #shader #opengl #opengles