Skye
Skye copied to clipboard
A question of fill.vs
In fill.vs ,there's a uniform variable called "uOffset", and set it to 0 in Program, I want to know why you did that. And I tried to set it to 0 manually in the shader, but it didn't work.
Thank you very much if you can answer my questions. : )
Hi, it's only set to 0 if your pointcloud has just one vertex buffer, i.e., if it has less than 134M points. If it has more than that, another code path is taken: https://github.com/m-schuetz/Skye/blob/afc3bd58d91b0168852e0abc7405ad35650b6107/modules/progressive/render_progressive.js#L304
Could that be the problem? Does your pointcloud consist of more than 134M points?
Haha, thanks for your answer, I finally know the meaning of "uOffset", I can't show it before because I made a mistake in code. No questions now, thank you.