On 7/12/06, Dirk Reiners <[EMAIL PROTECTED]> wrote:
>
>         Hi Josef,
>
> On Wed, 2006-07-12 at 11:32 +0200, Josef Grunig wrote:
>
> > You mean adding a SHLChunk and a ShaderParameterChunk to the same material?
>
> Yup.

Ok, I'll try this one...

>
> > Another question: I'm using a SwitchMaterial with two different shaded
> > materials. Switching  between those two materials and changing the
> > value of a Uniform value causes the shader to recompile during the
> > rendering... is this the supposed behaviour?
>
> Hm, no. Looking at the code that shouldn't happen, if you use the
> correct FieldMask when changing the uniform.
>

well, that's my fault...

I thought that using simply beginEditCP without the specific mask
parameters was ok too. Using the specific mask for the uniform
parameters fixes the compile problem. Sorry about that!

Thanks and have a nice day,

-- 
Josef Grunig


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to