Re: [osg-users] [osgOcean] Regulate the Ocean Reflection intensity.

2013-12-02 Thread Dario Minieri
Hi, Nice, I've seen now the mod, I'll try them as soon Thank you! Cheers, Dario -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57512#57512 ___ osg-users mailing list

Re: [osg-users] [osgOcean] Regulate the Ocean Reflection intensity.

2013-12-02 Thread Dario Minieri
Hi, Looking the patch, I've seen that this is the same mod that I've tried but doesn't looks good to me...I'm using the trunk version, so the patch is different because some stuffs are moved in Technique file, but the mod is the same and I'm not really able to tone down (mean: add a lower

Re: [osg-users] [osgOcean] Regulate the Ocean Reflection intensity.

2013-11-15 Thread Kim Bale
Thanks I'll check out the effect and merge it. Kim. On 15 November 2013 00:33, Tisham Dhar tisham.d...@aerometrex.com.auwrote: Hi, I have successfully implemented a changing reflection intensity by adding 1) Multiplier to env_map 2) Creating a uniform corresponding to the multiplier in

Re: [osg-users] [osgOcean] Regulate the Ocean Reflection intensity.

2013-11-14 Thread Tisham Dhar
Hi, I have successfully implemented a changing reflection intensity by adding 1) Multiplier to env_map 2) Creating a uniform corresponding to the multiplier in the shader 3) Setting this uniform via stateset and creating a corresponding variable in FFTOceanSurface. SVN diff to release tag

Re: [osg-users] [osgOcean] Regulate the Ocean Reflection intensity.

2013-10-02 Thread Dario Minieri
Hi, In effect, I see the env_color computation in the fragment shader. I'm able to multiply this one by a tiny constant 1 (like 0.2) to obtain the result desired, but the problem is that the total final tone change drastically. I don't know if I've made right operation, but I'm trying to

Re: [osg-users] [osgOcean] Regulate the Ocean Reflection intensity.

2013-09-27 Thread Kim Bale
Hi Dario, I would take a look inside the surface fragment shader and then tone down the mix function that blends the reflection texture with the surface. It should be pretty simple. Regards, Kim. On 27 September 2013 17:37, Dario Minieri para...@cheapnet.it wrote: Hi, I'm looking to