Hi everybody,
I’m trying to create a grid of points as textures following the pointAsTexture Example in the examples/gl folder.
I need alpha blending and depth test enalbed to place background points behind foreground points. As I enable the depth test (in the OF example is disabled) I get this error (texture is a png with alpha channel). Depending on the degree of rotation, the alpa channel turn to black.
I read that I should sort my vertices/points on their distance from the camera, but I get no advantage.
I created a small example where you can rotate the grid by moving the mouse on the X axe and change some other viewing parameters.
I hope this colud be usefull. Thanks!!!
7 posts - 3 participants
