summaryrefslogtreecommitdiff
path: root/include/shader.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-05-24 18:49:46 -0500
committersanine-a <sanine.not@pm.me>2020-05-24 18:49:46 -0500
commit2ca743d8df36f8cf863caa9c40f965398f72ef2e (patch)
tree9fddae310989e47e95e54fb085a818adfe1f392e /include/shader.h
parentabf135246914e5ad57892fb005274da96f040fc2 (diff)
add blinn-phong lighting demo
Diffstat (limited to 'include/shader.h')
-rw-r--r--include/shader.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/shader.h b/include/shader.h
index 40561d4..771ea4a 100644
--- a/include/shader.h
+++ b/include/shader.h
@@ -63,6 +63,17 @@ void honey_shader_set_vec3(honey_shader shader,
char* vector_name,
vec3 value);
+
+/** @brief Set a mat3 uniform.
+ *
+ * @param[in] shader The shader to which the uniform belongs
+ * @param[in] matrix_name The name of the matrix uniform
+ * @param[in] value The value of the matrix uniform
+ */
+void honey_shader_set_mat3(honey_shader shader,
+ char* matrix_name,
+ mat3 value);
+
/** @brief Set a mat4 uniform.
*
* @param[in] shader The shader to which the uniform belongs