Color getting distorted?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Clash
Posts: 80
Joined: Thu Apr 19, 2007 4:20 pm

Color getting distorted?

Post by Clash »

I'm using custom scene node, the image at the top is how is image is suppose to look like, yet when it's drew it gets some color distortion, like the 2 images below http://img138.imageshack.us/img138/2909 ... uffdo5.png

What part of the code do you guys need to see or do you guys have any idea what could be it? The problem should not be on the custom node as I've tried it separetely on another project and it worked perfectly
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Seems like you don't initialize the vertex color. Which will make the quad take random colors. Maybe you only tried the debug build before, where the debugger would initialize the SColor to 0.
Post Reply