> Yes, I have a partially white sphere. I cannot set specular OFF, I need it > for others nodes in the scene. I cannot modify light in fact. > So I need to change skymap parameters.
Yes, set the material of your sky sphere to have no specular component. > If I put lighting OFF, the opacity do not seems to work... Did you use GL_BLEND and TRANSPARENT_BIN as David said ? Try to set a color for the vertices (forget about the material, that's for lighting). > How can I combine : no ligthing area visible on skymap and opacity which > can be changed ? I don't understand your sentence... (sorry). Do you mean you wish your sky sphere to have a transparency that you change over time? If so, there nothing special to do. Just try to make transparency work when disable lighting. > Thanks for help. De rien (= you're welcome = de nada = etc.). Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ >> Hi Vincent, >> >> I'm not sure I understand... do you mean your blue sky sphere appears >> partially white because of lighting? If yes, try disabling specular >> components (on both light and sphere material if needed), this may be that >> white spot. Or did you set light colors components >1? >> And as far that I know, opacity is not related to lighting: you can have a >> semi-transparent sphere with lighting disabled. >> >> Sukender >> PVLE - Lightweight cross-platform game engine - >> http://pvle.sourceforge.net/ >> >> Le Wed, 19 Nov 2008 16:28:41 +0100, Vincent Bourdier < >> [EMAIL PROTECTED]> a écrit: >> >> > Hi, >> > >> > Making a new king of skymap, I have this problem : the light source, >> closer >> > to the skymap (sphere with blue material only), make it render white, >> > because of the lighting... >> > I want to obtain the same thing without this white area... >> > >> > I need to manage opacity of this sphere, so Lighting ON seems to be >> > necessary, no ? >> > >> > The fact is I need a coloredsphere, not having this lighting area >> becoming >> > white, and able to be set transparent. >> > >> > Any Idea ? >> > >> > I've tried changing lighting ON/OFF, material FRONT, BACK, FRONT and >> BACK, >> > Emission component, Ambiant component... >> > >> > Thanks. >> > >> > Regards, >> > Vincent. >> >> _______________________________________________ >> 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

