Issues with Texture Flickering
Opened this issue · 0 comments
Hy,
During our tests with this great library, we encounter some problems with textures on walls, which are increase if I zoom out, like this:
All screenshots are done within Demo of library.
Because we are quite new with Three.JS, I only half understand our solution, recommended on this german website: https://de.programqa.com/question/54026403/ (Not our page)
We implement within this commit: redoonetworks@69cba56
The camera perspective have a near and a far limit. If near is too small, then you will see the nasty flickering on walls, because accuracy of DepthBuffer will get to it's limit. We increase it from 1 to 5, which remove flickering in default view ranges. Also very tiny rooms 0.2m² was still shown correctly
Probably when you go < 0.2m² you will get problems, because you need to "zoom into too near" area.
This parameter also have one side effect, which is the reason it would be a opportunity to have a configuration for this:
In past I read a issue with transparent walls to look into houses. When you set this parameter to higher values (in screenshot 600), then the near objects are outside camera perspecive cone and hidden from renderer and you can look into house.
Unfortunately I'm not able to add a config option yet from skill level, so it is a bugfix issue only. When useful, I will create the merge request.
Regards,
Stefan