<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 24/08/2014 21:55, j-p a écrit :<br>
    </div>
    <blockquote
cite="mid:CANDRNwFrrmzh9gjym-VSS00qVrsRJK72hu04vh8WNXfnX6yCJg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,<br>
        I'm trying to find a way to get each vertex in a VBO to send
        individual uniform values to a connected shader.  I was thinking
        it might be possible to send these through an unused table... or
        maybe a 5th table could be created (length given with msg) to be
        referenced by the shaders?<br>
        <br>
        I have no idea is this is practical or possible within GEM
        setup, but if it is - any interest in adding this function?<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GEM-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GEM-dev@lists.iem.at">GEM-dev@lists.iem.at</a>
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev</a>
</pre>
    </blockquote>
    Hello,<br>
    <br>
    You can't pass individual uniform values to each vertex.<br>
    I guess you try to pass individual values to each vertex. For this
    purpose, you can use attribute variables.<br>
    You are limited with the VBO object of Gem to use "build-in" vertex
    attributes : position, color, texture, normal.<br>
    If you want to pass individual values to vertex, use one of this
    "build-in" vertex attribute that you don't use and get the attribute
    in your vertex shader.<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
  </body>
</html>