[Ves] Modify uniform variables

Aashish Chaudhary aashish.chaudhary at kitware.com
Mon Oct 14 16:24:57 EDT 2013


Dear Jon,

Let me have a look at the code and will reply back. But in short, you can
make your own uniform and use that in the shader, IN other words,
you are bounds of engine uniforms.

I thought we have an API for the engine uniforms, let me make a check on
it.

Thanks,



On Mon, Oct 14, 2013 at 2:58 PM, Jon Chmura <jon.chmura at me.com> wrote:

> I want to set the value of vertexOpacity in vesGourandTexture shader
> program.
>
> /// \file vesGouraudTexture_frag.glsl
> ///
> /// \ingroup shaders
>
> uniform lowp float vertexOpacity;
>
> It is given a default value of 1 in vesEngineUniform. But I can't find any
> accessors for it as there are for point size, line width, etc.
>
> Jon Chmura
> jon.chmura at me.com
>
>
>
>
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20131014/624cb429/attachment-0001.html>


More information about the Ves mailing list