Vousk-prod. Posted March 27, 2015 Share Posted March 27, 2015 Hi everyone, On some complex materials (bump+diff+spec), at certain viewing angles, there are rendering bugs on textures.It looks like when viewing at some angles, a shift occurs between the bump map and the diffuse map. Check this PG :http://www.babylonjs-playground.com/#1MYQJJ#55 Look at the object's face facing camera, it's kind of "sharpenly blurred", this is not the correct aspect.Then click on the object, it will rotate upside down, and now the same face previously bad rendered is correctly rendered.Then move a bit the camera around this face and you'll see a kind of "moiré" (you'll need a good screen to see it) resulting of the interaction between lights and bump map, where it's sometimes ok and sometimes not. When you manage to see this "moiré", you can stop moving camera, and notice that this comes from the fact that there is one sharp "line" followed by a blurred "line", then a sharp one, etc... You can then look all around the object, turned-over or not, to see that at some angles everything is ok, and at other angles their are problems.You can also change the specular values (color and power) to change the strongness of the bug and the "moiré" effect. I notice this bug for the first time when trying the first BJS implementation of SSAO. Back to that time I thought it was related to SSAO because when deactivating SSAO the bug disappeared, but now the bug is always occuring even with no SSAO activation at all. I'll try with a previous 2.0-beta to check if this was or not an already existing bug before SSAO implentation. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.