[Bf-viewport] OpenGL low level shader API proposal

Brecht Van Lommel brechtvanlommel at gmail.com
Sat Dec 5 03:02:51 CET 2015


Hi all,

I've written a rough proposal for the low level shader API that all
OpenGL shaders would use, both for mesh and UI drawing.
http://wiki.blender.org/index.php/Dev:2.8/Source/OpenGL/Shaders

It builds on data structures and APIs that are already there, moving
information about required vertex attributes from GPUMaterial to
GPUShader, while moving uniform and texture values into a new
GPUShaderParams. Nothing radical really.

What do you think?

Thanks,
Brecht.


More information about the Bf-viewport mailing list