<br>I failed to address this comment:<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
&gt; +     glUniformMatrix4fv(es-&gt;shader-&gt;modelview_uniform,<br>
&gt; +                        1, GL_FALSE, modelview_inverse.d);<br>
<br>
</div>The inverse matrix is going into modelview uniform, one of them needs a<br>
corretion in the name.<br></blockquote></div><br>Perhaps modelview_uniform and modelview in the shader could be renamed to camera_uniform and camera respectively.<br><br><br>Thanks,<br><br>Scott<br>