By default use simple-shader

This commit is contained in:
Renaud Casenave-Péré 2015-08-28 22:19:35 +02:00
parent 7c077ebe68
commit a2806bc83a

View file

@ -55,7 +55,7 @@ Destroy the opengl context and the related resources."
(setf frames-counter 0))))
(defun render-single-mesh (mesh transform)
(using-program (program 'blue-shader)
(using-program (program 'simple-shader)
(with-locations (model-to-camera camera-to-clip) program
(let ((mtc (m* (view (get-current-camera)) transform))
(ctc (projection (get-current-camera))))