glscene

 

Articles ColorSetting

Page history last edited by skinhat 4 yrs ago

Setting a GLScene object color

Non textured materials can be applied to a scene object. For example it is possible to have green sphere. The color of a material can be set in the TGLMaterial frontproperties.emmission property. For example

TGLMaterial.frontproperties.emission.asWincolor(clGreen)

To use a non textured material set TGLMaterial.texture.disabled to true.

To assign a material to a GLScene object refer to the texture assigning article.

skinhat

Comments (0)

You don't have permission to comment on this page.