shawn0326 / zen-3d

JavaScript 3D library.
MIT License
196 stars 24 forks source link

Just a question non related to zen3d itself. #27

Closed VanderSP closed 2 years ago

VanderSP commented 2 years ago

Sorry disturbing you last time!

It´s not related to zen3d specifics, but maybe you have some clue... while scrolling images, it´s all fine and ok... but if someone try to scroll a imagem that contains some thin lines (think some grid)... those thin lines likely starts to flicker a bit...

i researched entire net... tried some shadertoy hacks, aa, supersampling, box blur, etc... i dunno if there´s a nice way... tried to understand a bit of fwidth, i dunno some folks talked about reducing bandwith for each pixel sits on each pixel.. i dunno if really there´s some fix.. but maybe someone knows! maybe i will leave as is lol... im asking you because it´s hard to hit someone experienced with glsl... maybe your brilliant mind have some trick for me!

Thanks ;)

VanderSP commented 2 years ago

i´ve found that using a smaller image, the flicker is reduced... also maybe related to framerate