544

Controlling the appearance of textures
Texture mode example code

  • Create TextureAttributes
    TextureAttributes myTA = new TextureAttributes( );

  • Set the texture mode to MODULATE
    myTA.setTextureMode( Texture.MODULATE );

  • Set the texture attributes on an Appearance
    Appearance myAppear = new Appearance( );
    myAppear.setTextureAttributes( myTA );