Palm-Studios / sh3redux

SILENT HILL 3 Engine Remake in OpenGL and C++
GNU General Public License v3.0
158 stars 15 forks source link

Shader system overhaul #142

Closed Quaker762 closed 5 years ago

Quaker762 commented 5 years ago

Complete overhaul and simplification of the shader system. This version only deals with Vertex and Fragment shaders in the final Shader Program; there is no need or want for anything more. It is also now possible to set and get Uniform values, in which the function is deduced during compile time, which shaves off a bit of time required to perform a uniform lookup.