Hi Fred,

I found the correct extension for unsigned uniforms:

--- a/src/Main/CameraGroup.cxx
+++ b/src/Main/CameraGroup.cxx
@@ -906,6 +906,7 @@ const char *ssao_vert_src = ""
 
 const char *ssao_frag_src = ""
     "#version 120\n"
+    "#extension GL_EXT_gpu_shader4 : enable\n"
     "#line " TOSTRING(__LINE__) " 2\n"
     "uniform sampler2D normal_tex;\n"
     "uniform sampler2D depth_tex;\n"

Greetings,
Olaf


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to