Lucas Bittencourt

Results 12 comments of Lucas Bittencourt

I tried both but I must have misunderstood something: 1) GLSL: ``` struct DirectionalLight { vec3 direction; vec3 color; float intensity; }; uniform Lights { DirectionalLight directional_lights[4]; }; ``` Rust:...

1) I couldn't find a macro named `implement_buffer_layout`. `implement_uniform_block` doesn't work either, I can't build a buffer with an array of `DirectionalLightData`, also can't build it using `DirectionalLightBag`. 2) Can...

The second method compiles now, the problem was that `impl UniformBlock for [T; 5] where T: UniformBlock` starts at 5 and I had 4 lights. I'm still getting a layout...

So I went back to the second method and created my own Uniform type (I was having a lot o trouble with the alignment). For future reference, this is what...

I'm using glm-rs, it's still lacking convertion methods unfortunately.

Thanks for checking it out! Here's some behavior I notice that might be related: I've forked the demo to test the range [1000,3000]. If you scroll the page, the scrollbars...

Thanks @daybrush ! I've tested with the 0.22.0 version and the problem I reported here (https://github.com/daybrush/infinite-viewer/issues/45#issuecomment-1483689773) was corrected, constraining a range like [-3000,-1000] now works perfectly! But the scrollbars are...

Thanks @daybrush! I finally managed to test version 0.24. I still find the scrollbar behavior to be unexpected: in a viewport larger than the screen, the scrollbar changes size as...

I can't say for sure if the issue is fixed, because I'm not sure how you expect it to work for my use case. Having said that the scroll is...

Just tested it! I used version 0.28.1 The scrollbar now follows the cursor at the correct speed, but I still get some weird behavior when the viewport is smaller than...