Results 1 to 4 of 4

Thread: multi-texturing

  1. #1
    Junior Member Newbie Chan Min's Avatar
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    18

    multi-texturing

    SetTextureStageState( 0, D3DTSS_COLORARG1, D3DTA_TEXTURE);
    SetTextureStageState( 0, D3DTSS_COLORARG2, D3DTA_DIFFUSE);
    SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_BLENDTEXTUREALPHA);


    anyone knows how to write these three lines in opengl?

  2. #2
    Junior Member Newbie Chan Min's Avatar
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    18

    Re: multi-texturing

    sob sob :'( .. no answer ?

  3. #3
    Senior Member Regular Contributor remdul's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands
    Posts
    346

    Re: multi-texturing

    Please don't crosspost.

    Looks like you want to cross-fade textures? You can do that with multipass + blending, or use GLSL.

  4. #4
    Junior Member Newbie Chan Min's Avatar
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    18

    Re: multi-texturing

    sorry, I thought I got no answer because I posted inside unrelated sub forum.

Similar Threads

  1. Multi Texturing 4.5
    By Christoph.LGDV in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 11-11-2016, 02:11 AM
  2. Multi-Texturing and .... normal texturing?
    By Andy Gilbert in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-06-2010, 05:30 PM
  3. multi-texturing
    By Chan Min in forum OpenGL: GLSL
    Replies: 9
    Last Post: 05-07-2009, 10:54 AM
  4. getting .h and .LIB to do multi-texturing.
    By austin@x-plane.com in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 08-19-2001, 11:07 AM
  5. Multi Texturing
    By yossi in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-15-2000, 05:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean