ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperLicht
change a texture in runtime
Author Text

Registered User
2014-05-02 11:38:56

How to smoothly change a texture of a model from one to another?
Simple approach:

b1.getMaterial(0).Tex1 = engine.getTextureManager().getTexture("newtexture.jpg", true);
in runtime makes my model blink even when "newtexture.jpg" is already loaded.

EDIT: my error. The texture was not loaded. When it is loaded there in no blink.


Create reply:

Posted by: (you are not logged in)

Enter the missing letter in: "Intern?tional" (you are not logged in)




Forum Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.