From aace6bb510656364cbd0dba02aea97a3c8d37e7f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 19 Jan 2017 09:28:36 -0500 Subject: render: shader: Restore ability to serialize color objects. --- chickadee/render/shader.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chickadee/render/shader.scm b/chickadee/render/shader.scm index 0b882d6..ddf2098 100644 --- a/chickadee/render/shader.scm +++ b/chickadee/render/shader.scm @@ -195,7 +195,7 @@ ('float 0.0) ('float-vec2 (vec2 0.0 0.0)) ;; ('float-vec3 (vector3 0.0 0.0 0.0)) - ;; ('float-vec4 (vector4 0.0 0.0 0.0 0.0)) + ('float-vec4 (make-color 0.0 0.0 0.0 0.0)) ;; ('int-vec2 (vector2 0 0)) ;; ('int-vec3 (vector3 0 0 0)) ;; ('int-vec4 (vector4 0 0 0 0)) @@ -211,7 +211,7 @@ ('float set-float-uniform!) ('float-vec2 set-float-vector2-uniform!) ;; ('float-vec3 set-float-vector3-uniform!) - ;; ('float-vec4 set-float-vector4-uniform!) + ('float-vec4 set-float-vector4-uniform!) ;; ('int-vec2 set-integer-vector2-uniform!) ;; ('int-vec3 set-integer-vector3-uniform!) ;; ('int-vec4 set-integer-vector4-uniform!) -- cgit v1.2.3