This is a naive comment, but maybe this feature is not supported by the driver of you graphic card under Linux?<br><br>I&#39;m curious to know how this example works under Windows (with a Nvidia card for example).<br><br><div class="gmail_quote">
On Sun, Oct 28, 2012 at 9:15 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, Oct 28, 2012 at 4:06 PM, Arnaud BARRE &lt;<a href="mailto:arnaud.barre@gmail.com">arnaud.barre@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;ve just tried under MacOS X 10.5 with VTK 5.10 and everything is black. I<br>
&gt; have no light.<br>
&gt;<br>
&gt; The console returns me this errror several times:<br>
&gt;<br>
&gt; ERROR: In<br>
&gt; /Users/Alzathar/Downloads/Code/vtk-5.10/Rendering/vtkOpenGLProperty.cxx,<br>
&gt; line 407<br>
&gt; vtkOpenGLProperty (0x1c25230): Using the current shader program is invalid<br>
&gt; with the current OpenGL state. Validation log=Validation Failed: Sampler<br>
&gt; error:<br>
&gt;   Samplers of different types use the same texture image unit.<br>
&gt;    - or -<br>
&gt;   A sampler&#39;s texture unit is out of range (greater than max allowed or<br>
&gt; negative).<br>
&gt;<br>
&gt; Do you have this kind of error message too? Maybe your problem is related to<br>
&gt; shader program?<br>
&gt;<br>
&gt; Arnaud<br>
<br>
</div>Hm, interesting. I do not get those errors, but when I did just see:<br>
<br>
ERROR: In /home/doriad/src/VTK/Rendering/OpenGL/vtkShadowMapBakerPass.cxx,<br>
line 277<br>
vtkShadowMapBakerPass (0x96aa808): FBOs are not supported by the<br>
context. Cannot use shadow mapping.<br>
<br>
ERROR: In /home/doriad/src/VTK/Rendering/OpenGL/vtkShadowMapPass.cxx, line 186<br>
vtkShadowMapPass (0x96aa858): FBOs are not supported by the context.<br>
Cannot use shadow mapping.<br>
<br>
Does anyone know how to get FBOs supported by the context :) ?<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>