Material changes color - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Interface & Usage (https://www.wings3d.com/forum/forumdisplay.php?fid=3) +--- Thread: Material changes color (/showthread.php?tid=910) |
Material changes color - FlevasGR - 10-21-2014 Hello, i was making a house model but as i was changing the meterial properties (my bad) i noticed that in some directions its too dark! This is how it looks from above: https://db.tt/DvgmYLfH (notice the dark spots on the walls) If i observe it from the direction of the door the floor is fine ( https://db.tt/aI5bDWIp ) but if i turn my back on the opposite direction the floor is black. This is the properties for the floor: https://db.tt/7kE6TTct How can i fix it? RE: Material changes color - micheus - 10-21-2014 The problem isn't in the floor. It's in the wall. You didn't post any wires of the scene, but it seems you are using a low amount of polygons. It's a common behaviour for OpenGL viewing. It's probably to the way the normals are calculated. I'm going to quote a explanation I found (better than I could give you ): tolaris Wrote:This seems to be the case to me on the screenshot, the shading goes weird because the normals are smoothing faces which are pretty much at straight angle to one another, and consequently the renderer is trying to interpolate between 'in light' and 'in shadow' along what's really a single, flat polygon. (ref. link) Check this image: As more vertices your object have better will be the shading. In the first pair (top/down) the wall is connect to the floor since I extruded the tiles; In the second pair the wall was just separated from floor; in the third some clean up was made in the wall bottom. In the last pair we can see a better result by using hard edges. RE: Material changes color - FlevasGR - 10-22-2014 Thanks As you can see with the hard edges is way better! https://db.tt/RxFjMVEJ |