Re: [osg-users] CityGML

2010-04-28 Thread clement vidal
It seems to be very interessting, we're waiting for looking at your work Clement ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Problem BlendEquation in Shader GLSL

2010-01-07 Thread clement vidal
do this unless you do another pass)? Are you expecting max, but getting average? jp clement vidal wrote: Hi, I have a problem with BlendEquations and shaders. That is the situation: I attach several textures to my camera using COLOR_BUFFER0, COLOR_BUFFER1, ... I use a shader to make

Re: [osg-users] Problem BlendEquation in Shader GLSL

2010-01-07 Thread clement vidal
why i would like to use a blend equation, it's the same problem as the other example I gave you I would like do a MAX blending between the value previously in the texture and the new value. Have you an idea how to do that? 2010/1/7 J.P. Delport jpdelp...@csir.co.za Hi Clement, clement vidal

Re: [osg-users] Problem BlendEquation in Shader GLSL

2010-01-07 Thread clement vidal
/1/7 J.P. Delport jpdelp...@csir.co.za Hi, clement vidal wrote: Thanks for your help. But the solution that you gave me it's not really what I want to do. The simple example i gave you it's just to explain what kind of result I need. Actually I'm trying to implement a Dual Depth Peeling

Re: [osg-users] Problem BlendEquation in Shader GLSL

2010-01-07 Thread clement vidal
to the next depth layer where I put other value and I would like the maxBlending result between this different colors. 2010/1/7 J.P. Delport jpdelp...@csir.co.za Hi, clement vidal wrote: Thanks for the link, i will look at this. But for the shader example I gave you I think that it do

Re: [osg-users] Problem BlendEquation in Shader GLSL

2010-01-07 Thread clement vidal
cannot do this unless you do another pass)? Are you expecting max, but getting average? jp clement vidal wrote: Hi, I have a problem with BlendEquations and shaders. That is the situation: I attach several textures to my camera using COLOR_BUFFER0, COLOR_BUFFER1, ... I

[osg-users] Problem BlendEquation in Shader GLSL

2010-01-06 Thread clement vidal
Hi, I have a problem with BlendEquations and shaders. That is the situation: I attach several textures to my camera using COLOR_BUFFER0, COLOR_BUFFER1, ... I use a shader to make the rendering into this textures. There is some values in this textures and i would like to use a max blending