Hi, this is a little thread about Transform feedback.
For those who are new to TF:
Its basically a way to render to eg vertex buffer/texture buffer.
You can capture data outputted by vertex shader, or geometry shader.
Any applications?
-geom shader culling
-particles updated in vertex shader
-transforming matrices once and using multiple times etc…
Atm I am testing how TF works for culling gpu instanced meshes. Well, since I am implementing it anyway, might as well contribute it to jme3.
So, first of all, I have to ask if TF contribution is welcome.
The contribution will focus on the basic transform feedback feature (Core since version 3.0).
If we agree to go for it. Then we can discuss the implementation details. About design questions, such as will enabling transform feedback be a new method in Material, or as additionalRenderState, etc etc…
There are plenty of things to discuss, so let’s first agree whether we go for it or not.
Well, in any case, I am going to test culling with transform feedback, and will post results what I’ll get.