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
2323
2424 void setUniform(int location, const glm::vec3& value);
2525 void setUniform(const char* name, const glm::vec3& value);
26+ void setUniformArray(const char* name, const glm::vec3* values, int count);
2627 };
2728
2829 #endif // hifi_ProgramObject_h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t