Status of GL_COMBINE
  • Butterfly
    Butterfly
    Daytona675x
    Posts: 100 from 2013/12/5
    Hi,

    I'm thinking of "abusing" texture combiners to quickly work around the missing GL_FOG in TinyGL. However, before I start with that and probably run into issues, I wanted to ask about TinyGL's texture combiner support state.

    1. is GL_COMBINE supported in general?
    2. is GL_INTERPOLATE supported?
    3. is GL_CONSTANT supported (and consequently GL_TEXTURE_ENV_COLOR)?

    If this all is supported, is it supported for all 3D hardware?
    Or not until OS version xyz?

    Thanks!
  • »19.05.15 - 09:51
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 279 from 2003/4/11
    Quote:

    Daytona675x wrote:
    Hi,

    I'm thinking of "abusing" texture combiners to quickly work around the missing GL_FOG in TinyGL. However, before I start with that and probably run into issues, I wanted to ask about TinyGL's texture combiner support state.

    1. is GL_COMBINE supported in general?


    Yes. In fact, this is the only thing that's supported in the drivers. TinyGL converts legacy texenv modes into combiners before forwarding them to the driver.

    Quote:

    2. is GL_INTERPOLATE supported?


    Yes, and MorphOS 3.8 includes some fixes that previously made it misbehave in certain situations.

    Quote:

    3. is GL_CONSTANT supported (and consequently GL_TEXTURE_ENV_COLOR)?


    Yes.

    Quote:

    If this all is supported, is it supported for all 3D hardware?
    Or not until OS version xyz?


    It's supported for all 3D hardware that's currently supported by MorphOS/TinyGL, so R200-R500.

    If you run into any issues and you're quick enough to report them, they'll get fixed for the upcoming MorphOS 3.9 bugfix release.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »19.05.15 - 10:24
    Profile Visit Website
  • Butterfly
    Butterfly
    Daytona675x
    Posts: 100 from 2013/12/5
    Thanks!
    I already implemented it. Houston, we got fog :-)
  • »19.05.15 - 10:48
    Profile Visit Website