Ladysnake / Satin

A Fabric library to help with shader usage
GNU Lesser General Public License v3.0
90 stars 24 forks source link

Geometry Shaders #21

Open DietrichPaul opened 2 years ago

DietrichPaul commented 2 years ago

Describe your suggestion How about supporting geometry shader? It would help me to draw more complex shapes.

Additional context Here is an example implementation: GeometryShaderTest.java

Pyrofab commented 2 years ago

Yeah that sounds like a great idea, wanna do a PR for it ?

DietrichPaul commented 2 years ago

Unfortunately, I have no idea how to implement this correctly.... :(

Qendolin commented 2 years ago

Just a heads up: GS are mostly avoided in games due to a lack of HW support, meaning that often GS are processed in SW leading to huge performance drop. There is almost always another way to do what a GS would do.