Have you noticed the new shader composition submission on osg-submission?
Might be worth of trying that. If you succeed in it (also, you can do the
reflectiopn with GLSL as well, look in the archive, I have posted sample for
that), you can post your work as an example of the new shader composition
-Nick


On Fri, Apr 16, 2010 at 3:39 PM, Wojciech Lewandowski <[email protected]
> wrote:

> Hi Martin,
>
> I am afraid you will have to touch GLSL. All shadow map techniques are
> shader based. What you will have to do is: replace base texture 2D sampler
> with your textureCube sampler and will have to process tex coords
> accordingly.  If you have not yet learnded GLSL, this moment have just come.
> Don't hesitate, with shaders the fun really starts ;-)
>
> Wojtek Lewandowski
>
> ----- Original Message ----- From: "Martin Großer" <[email protected]>
> To: "OpenSceneGraph Users" <[email protected]>
> Sent: Friday, April 16, 2010 11:21 AM
> Subject: [osg-users] CubeMap-Reflection and ShadowMap don't work togehter?
>
>
>
>  Hello,
>>
>> short question. I have a Node with a cube map reflection like the
>> osgcubemap example. Now I use the "StandardShadowMap". Only the shadow
>> works. Only the cube map works. But when I use it together only the shadow
>> works. Override the shadow settings my cube map settings?
>>
>> But what can I do to fix it in my application without writing a glsl
>> shader?
>>
>> Cheers
>>
>> Martin
>> _______________________________________________
>> 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
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to