Yes, i will do that, thanks for your support

Regards,

On Tue, Feb 22, 2011 at 2:35 PM, Kim Bale <[email protected]> wrote:

> If you are disabling the default shader then the lighting effects you see
> will be the result of the fixed function shading. You should look at the
> specular properties of the light and the material and check that they are
> not too high.
>
> K.
>
> On 22 February 2011 13:29, Mahendra G.R <[email protected]> wrote:
>
>> Hi Kim,
>>
>> I disabled the default scene shader and now the model looks very specular,
>> though i see some color, does light source has any effect here?,
>>
>>
>> Thanks,
>> Regards
>>
>>
>> On Tue, Feb 22, 2011 at 2:09 PM, Mahendra G.R <[email protected]>wrote:
>>
>>> Hello Kim,
>>>
>>> Thanks for the reply, i dont think its the problem with the shaders, but
>>> somehow the stateset of my model is being changed (i guess), Is there way to
>>> overcome this problem without disabling the shaders and loosing all those
>>> nice effects, basically my material ONLY has some color properties and
>>> nothing more!, btw, i"m using the osgOcean example file to load my model
>>> (does it matter?).
>>>
>>>
>>> Thanks,
>>> Regards
>>>
>>>
>>> On Tue, Feb 22, 2011 at 1:55 PM, Kim Bale <[email protected]> wrote:
>>>
>>>> Hi Mahendra,
>>>>
>>>> osgOcean uses shaders for most of it's rendering techniques. By default
>>>> osgocean will apply a default shader to all children that are added to 
>>>> ocean
>>>> scene. Certain effects like the glare and depth of field shaders and 
>>>> fogging
>>>> rely on a shader implementation to ensure that the relevant render targets
>>>> are filled.
>>>>
>>>> The default shader provided by osgocean is very basic as I cannot
>>>> anticipate everyone's shader needs. Thus if you want the default shader to
>>>> take into account particular material properties you can either override 
>>>> the
>>>> defuault shader or attach shader directly to the node you wish to render.
>>>>
>>>> Alternatively you may choose to disable the default shader, (
>>>> http://code.google.com/p/osgocean/source/browse/trunk/include/osgOcean/OceanScene#599)
>>>>  however
>>>> you will lose the DOF, glare and fogging effects if no other shader
>>>> implementation is provided.
>>>>
>>>> Regards,
>>>>
>>>> Kim.
>>>>
>>>>
>>>>
>>>> On 22 February 2011 10:28, Mahendra G.R <[email protected]>wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm using osgOcean and placing a model in the middle of the ocean, this
>>>>> model has some material properties (its basically a .ive file), when i 
>>>>> load
>>>>> the model with osgViewer, its fine, i see all the colors etc. but when i
>>>>> render it placing it inside the ocean, i loose the features of the model. 
>>>>>  I
>>>>> read somewhere in the forum to try disabling the shaders and recompile
>>>>> osgOcean (though i felt it had nothing to do with the shaders, just gave a
>>>>> try), did anyone else try loading models in osgOcean ??
>>>>>
>>>>> Regards,
>>>>> Mahendra
>>>>>
>>>>> --
>>>>> http://www.mahendragr.com
>>>>>
>>>>> _______________________________________________
>>>>> osg-users mailing list
>>>>> [email protected]
>>>>>
>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> [email protected]
>>>>
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>
>>>>
>>>
>>>
>>> --
>>> http://www.mahendragr.com
>>>
>>
>>
>>
>> --
>> http://www.mahendragr.com
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
http://www.mahendragr.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to