Skip to content

Add geometry for cube with back, front shaders

username-removed-200762 requested to merge add-front-back-cube-render into master

Adds a cube specific geometry which initializes the VAO and VBO. Also it has a back property which is set to true, which implies back side of the cube which is to be rendered to a texture using an FBO.

When back is False, it implies the front face whose Vertex Shader uses the FBO texture of the back cube and the volume texture to do the actual volume rendering.

Merge request reports