-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
way to enable vertex program point size with gl renderer #396
Comments
I don't believe this is supported. You should ask questions on discourse.bsframework.io, github issues are reserved for bugs and feature requests as per contribution guidelines. |
It is some sort of feature request. But yes, there probably isnt an implementation that would work for all render APIs. |
Re-opening as a feature request. I'm not sure how well is this feature supported on modern hardware and render backends? I feel like I remember most modern hardware don't support varying point sizes, but I might be misremembering. |
AFAIK the implementation is vendor dependent though all of them support it in some way or another. what is not defined is the max allowed point size. But it is part of the official opengl standart. A little off topic but somewhat related. I usually use it to easily generate billboard point sprites. what method would you recommend with bsf? |
It's probably easiest to use instanced rendering to draw the quads, potentially with a custom vertex shader to control the size and orient them towards the view. Particle system might also be able to handle this out of the box, or at least with a custom shader. |
i'll probably have to implement something like that at some point. FYI we develop software for clients that run on a single device. That's why we get away with using things like point size and don't worry about it. |
Is there a way to enable GL_VERTEX_PROGRAM_POINT_SIZE within the opengl renderer?
The text was updated successfully, but these errors were encountered: