I edited the Atmosphere constructor in stellarium\src\modules\Atmosphere.cpp
posGrid(NULL), colorGrid(NULL), indices(NULL),
// turn off shaders completely
qDebug() << "Use vertex shader for atmosphere rendering.";
which ensures that it will disable shaders even if the OpenGL version is 2.
I suppose there may be a way to disable OpenGL 2 support in the graphics
drivers but I don't know of one. Or it may be possible to create a shader
file that does absolutely nothing (about which I have absolutely no idea),
which would at least mean no messing about with the innards of Stellarium!
Hope this helps.
From: Lone Hiker [mailto:lone_hiker@...]
Sent: Sunday, June 21, 2009 2:57 AM
Subject: Re: [Stellarium-pubdevel] ***SPAM(-1.4)*** RE: Shader fortone
Exactly how do you disable shaders when compiling? Where does the
'useShader=false' flag go?
I'm having a different issue with the shader when trying to change the night
sky color and I'd like to disable it until Fabien or someone else can
address my post.
> From: steve.ingamells@...
> To: stellarium-pubdevel@...
> Date: Tue, 16 Jun 2009 18:59:18 +0100
> Subject: [Stellarium-pubdevel] ***SPAM(-1.4)*** RE: Shader for tone
> Hi Fabien,
> I have just got back into Stellarium stuff and built revision 4705 for
> Windows (XP Pro SP3) and although my laptop's graphics card claims to be
> OpenGL 2.0 compliant, it crashes on startup just after logging that it
> use shaders. Recompiling with useShader=false makes it work fine.
> Hardware is a Dell latitude D810 with ATI Radeon 300X (64MB). I have the
> latest drivers from Dell. I don't have any other supposedly OpenGL-2.0
> hardware with which to test, unfortunately.
> If there's any further info that would help, please let me know.
> Best regards,
> Steve Ingamells
BingT brings you maps, menus, and reviews organized in one place. Try it