Working ABuffer

- Fixed the ABuffer rendering for intersecting volumes
- Added keyboard callback for toggling renderables
- Changed textures from ClampToBorder to ClampToEdge
- Fixed transferfunctions to clamp to edge instead of fade to black
This commit is contained in:
Jonas Strandstedt
2014-07-23 16:06:49 -04:00
parent ecf3a8539a
commit e99a98224c
12 changed files with 246 additions and 123 deletions
@@ -68,6 +68,7 @@ private:
GLuint _boxArray;
ghoul::opengl::ProgramObject *_boxProgram;
glm::vec3 _boxScaling, _boxOffset;
float _w;
GLint _MVPLocation, _modelTransformLocation, _typeLocation;
bool _updateTransferfunction;