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

cosmo
Registered User
Quote
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.

Mariusz


Create reply:


Posted by: (you are not logged in)


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


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   





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