Troubles with rendering
syxov opened this issue · comments
Hello. Could you help me, please?
I use your lib, but have one trouble. At the models some textures are transparent. Some times they reflect in water, but model looks like on the picture:
http://imglink.ru/pictures/13-04-14/06d5939b10c07c4fc1552ed7201c8ce9.jpg
Without water it looks write:
http://imglink.ru/pictures/13-04-14/41749623d42458986d04854094599e9b.jpg
Do you have idea why it occured?
P.S. Sorry for my English :)
Hello!
In order to create the water effect, there is a second rendering. It seems that this second rendering of the scene cut some triangles of your model. I suppose a problem linked with the frustum near plane of this camera.
You can maybe try to increase the scale of the scene to check if this temporary solve the problem.
If you have a working example of the problem, i am curious to see it to help you!
Hi again!
I have try to increase the scale but it have not helped me. And you can fork my project at this url (front-end branch)
https://github.com/syxov/caribbean_war
Hi,
I'm sorry but i didn't succeed to import correctly dependencies with grunt or npm in the front-end branch. Even manually, i have some errors (textures not loaded, etc).