Greetings board!
I was wondering: is it possible to do gloss and specular mapping using a texture as a mask? I need this to render a photo-realistic model of a table with peels of paint over it (which would shine and have a different texture than the old and worn parts of the table). I know that irrEdit doesn't support it but maybe there's a different way to do it in Irrlicht itself?
Also, do you guys know of any alternatives to irrEdit that could fully (or mostly) support all of Irrlicht's features (such as the aforementioned mappings if they are possible to do)?
Thanks!
Gloss and specular mapping using textures
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
If you don't want to use shaders you have to put the paint blobs into geometry. Either give those parts a different material, or use the vertex color for specular color (this material switch is available in SVN/trunk, aka Irrlicht 1.6). But since you mention photo realistic I guess you must use a shader.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Ah it looks like he posted the specular mapped version in a later post: http://irrlicht.sourceforge.net/phpBB2/ ... 565#117565
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net