History

Get rid of redundant GL calls for fog. Enable and disable fog during rendering stage of voxels. Moved the local light parameters to shader uniform arrays.

TonyPeng committed 12 years ago

Commit 56eadcb1 parent e212f9f13 files · +148 −63Browse files

Showing the changes to interface/src/renderer/ProgramObject.h (1 of 13 files). Show all

Unified · Split

interface/src/renderer/ProgramObject.h+1−0
@@ -23,6 +23,7 @@ public: · 22 unmodified lines
23 23
24 void setUniform(int location, const glm::vec3& value);24 void setUniform(int location, const glm::vec3& value);
25 void setUniform(const char* name, const glm::vec3& value);25 void setUniform(const char* name, const glm::vec3& value);
26 void setUniformArray(const char* name, const glm::vec3* values, int count);
26};27};
27 28
28#endif // hifi_ProgramObject_h29#endif // hifi_ProgramObject_h