On 24 Dec 2011, at 14:06, Vivian Meazza wrote:

> The model-combined shader uses EXT_texture3D

Right, I've gained a bit more understanding from digging in the OSG sources:

The error:
                OpenGL extension 'GL_EXT_texture3D' is not supported.
is a red-herring; the Texture3D class in OSG checks this, but actually it's 
only used for a 'fast' flag which seems to do nothing. 

For my primary error, it's the water shader at level 2 or above that is the 
culprit (discovered thanks to Gijs' dialog). (If I go to level 4, things don't 
get any worse, though I realise from water.eff that's a different technique)

So, what's the next step in understanding this? The effect claims to use the 
noise texture (in unit 9, as always):

        <texture-unit>
                <unit>9</unit>
                <type>noise</type>
        </texture-unit>

And specifies the noise as a uniform:

        <uniform>
                                <name>Noise</name>
                                <type>sampler-3d</type>
                                <value type="int">9</value>
                        </uniform>

I note from previous conversations on IRC that water.frag doesn't acutally do 
anything with the Noise sampler-3d, so I commented it out, but this makes no 
difference to the errors.

So, this is where my knowledge runs out - can someone suggest the next 
debugging step, to identify the problem in the water effect?

James


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to