> -----Original Message-----
> From: Erik Hofman [mailto:e...@ehofman.com]
> Sent: 24 December 2011 10:40
> To: FlightGear developers discussions
> Subject: Re: [Flightgear-devel] Debugging an Ati shaders issue (with 3d
> textures, again)
> 
> On Sat, 2011-12-24 at 10:12 +0000, James Turner wrote:
> > On 24 Dec 2011, at 08:32, Mathias Fröhlich wrote:
> >
> > > Thie required extensions are in the effect files. Whatever changes are
> done with
> > > the shaders, the effect files *must* contain the minimum condition
> under which
> > > gl version/extensions this shader is valid.
> > > This is complex, but the only way to make that run portable.
> >
> > According to this, there should be no extension required:
> >
> >     http://lists.apple.com/archives/mac-opengl/2007/Oct/msg00108.html
> >
> > And 'glxinfo' reports:
> >
> >     OpenGL vendor string: ATI Technologies Inc.
> >     OpenGL renderer string: ATI Radeon HD 5770 OpenGL Engine
> >     OpenGL version string: 2.1 ATI-7.12.9
> >     OpenGL shading language version string: 1.20
> >
> > (and no 3D texturing extension token)
> >
> > Do we have a minimum OpenGL version requirement? 1.3 vs 1.4 vs 2.0?
> 
> glxinfo:
> OpenGL vendor string: NVIDIA Corporation
> OpenGL renderer string: GeForce 9600 GT/PCI/SSE2/3DNOW!
> OpenGL version string: 2.1.2 NVIDIA 173.14.22
> 
> glxinfo | grep 3D
> OpenGL renderer string: GeForce 9600 GT/PCI/SSE2/3DNOW!
>     GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D,
> 
> But then again:
> http://developer.amd.com/archive/radeonarchives/RadeonSampleCode/EXT_textu
> re3D-Extension/Pages/default.aspx
> 
> > The Radeon® has full support for EXT_texture3D, which is a required
> > feature for OpenGL® 1.2 compliance.
> 
> Odd.
> 

The model-combined shader uses EXT_texture3D

But we say:
 
<less-equal>
        <value type="float">2.0</value>
        <glversion/>
</less-equal>

in the effect file, but so far as I'm aware we do not actually use anything
that requires GL 2.0.

Vivian 



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to