Hello Alexander,

On 01/31/2013 10:43 AM, Alexander Lang wrote:
I added the uint type myself. Sorry, i don't quite get Git, therefore i
attached the changed files as zip file and diff.

thank you for the patch! It needed some tweaks to make uint uniforms fully functional (full patch attached).
Just for reference the missing steps were:
- add SHVType{,M}UInt to enum SHVType
- ShaderVariable{,M}UInt set their type in the c'tor
- ShaderProgram needs the id's for glUniformNui extensions functions
- osgUniformShaderVariableSwitch needs support for SHVType{,M}UInt

        Cheers,
                Carsten

Attachment: PATCH.uint-uniform-vars.diff.bz2
Description: application/bzip

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to