≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Material with lightmap
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b]bagg[/b] wrote: Hi Niko. Merry christmas and happy new year. I have a custom mesh and i am trying to put the light map material on it. The lightmap is created with the 3d studio max baked textures and i tried 256x256 size images with png and jpeg formats but it seems that copperlicht is not loading it (i can see it black). Here is the part of the code i am using. // set the texture of the material Gpbuff.Mat.Type = CL3D.Material.EMT_LIGHTMAP; Gpbuff.Mat.Tex1 = engine.getTextureManager().getTexture("sometexture.jpg", true); Gpbuff.Mat.Tex2 = engine.getTextureManager().getTexture("sometexturelightmap.png", true); Can you please help me? Thanks.[/quote]
Possible 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
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact