<div dir="ltr">Hi Liu, <div><br><div>You got me interested and I created a repro of your problem. I will send it in followup mail (to be sure this message passes in case zip attachments were prohibited and message got blocked). </div><div><br></div><div>I think you see a genuine issue. </div><div><br></div><div>I have found that texture1D seems to be a problem. When I used texture2D instead it works. One extra note, though. With GL_RGBA16 no one works correctly. So internal format needs to be a float format (GL_RGBA16F_ARB, GL_RGBA32F_ARB, GL_RGB16F_ARB, GL_RGB32F_ARB).</div></div><div><br></div><div>Cheers,</div><div>Wojtek</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-05 14:20 GMT+02:00 liu ming <span dir="ltr"><<a href="mailto:81792534@qq.com" target="_blank">81792534@qq.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yes,I am getting 0 and 1 in geometry shader,but my input values are :<br>
<br>
<br>
Code:<br>
<span class=""> *ptr1=osg::Vec3( 0.0,0.0,0.0);<br>
                        *ptr1++;<br>
                        *ptr1= osg::Vec3( 40.0,0.0,0.0);<br>
                        *ptr1++;<br>
                        *ptr1=osg::Vec3( 20.0,0.0,20.0);<br>
<br>
<br>
<br>
</span><span class="">------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=68869#68869" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=68869#<wbr>68869</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>