Material bug fixing

Posted on:September 14 2007

I just worked a bit on the light mapper of irrEdit, fixing a bug which caused smaller polygons to get wrong colors. Some few people noticed this on the forum, and the reason for this was that the lightmapper chooses not to use light maps for polygons which are smaller than a texel, and set the vertex color of the geometry instead. Unfortunately, lightmap materials are modulated by 4, and the solid vertex colored material in irrlicht is not, causing it to appear darker. Here is a shot of it, the upper image shows the old version and the other one the fixed irrEdit version which will be released soon:
Only very small polygons were affected by this problem. Notice that for examlpe the bike in the background also consisted of only very small polygons, and was a lot darker in the buggy version.
Nice. With a good working light mapper and an own irrlicht file format, it's again one step nearer to a cool new Irrlicht demo.


Is this scene included with Irrlicht? It'd make for a nice demo scene what with the old scenes getting to be a bit boring. :p
2007-09-14 19:58:00

no, it's not included in there. but it's planned to be :)
2007-09-15 13:48:00

hmm.... Hurry up with the demo...
I'm getting bored with writing 'office' applications...
And I want a good excuse to return to Irrlicht... :P
2007-09-16 21:13:00

WOW this is soo cool.. i have actually been getting this problem a lot but i thought it was something to do with my models. I can't wait for the next irrEdit. ;)

A new demo made with irrEdit using the new irrlicht file format would really ROCK.
2007-09-17 11:41:00

Add comment:

Posted by:

Enter the missing letter in: "Int?rnational"




Possible Codes

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