Results 1 to 8 of 8

Thread: Terrain Texturing Demo

  1. #1

    Terrain Texturing Demo

    Hi All,

    Currently I`m implementing terrain rendering at work. I have lots of experience with terrain texturing when it comes to shaders but none with old school stuff. Since our games need to run on hardware of +- 7 years old I can`t use shaders. So I did some research and wrote this proof of concept demo. It textures the terrain using multible passes with alpha blending. Basicly the same as quake 3 and unreal engine 2 do it. Lighting is vertex based and is done with an extra mult pass. You can have as many layers as desired. It could probebly be optimised with some multi-texture stuff.

    Controls:
    Mouse + WASD for movement
    F1 for wireframe
    See settings.ini to set the low detail terrain.

    Screen:


    Download
    http://www.genesisdevice.net/downloa...ntexturing.zip

    Source like always is GLPL.

    Greetz,

    Luuk

  2. #2

    Re: Terrain Texturing Demo

    Looks very nice and runs smooth on my computer I was always wondering how to do this without shaders... I'll definitely be poking around that source sometime

  3. #3

    Re: Terrain Texturing Demo

    Thanx I presented my technique to the engine and art team and I got a greenlight. They also want a little tool to build and sculpt the heightmaps. I`m probebly going to create that in delphi

  4. #4

    Re: Terrain Texturing Demo

    I'm very very curious how you do multiple passes without multitexturing? Mainly how do you keep depth test without flickering?

  5. #5

    Re: Terrain Texturing Demo

    By setting the depth function to GL_LEQUAL

  6. #6

    Re: Terrain Texturing Demo

    Oh that was simple Thanks.

  7. #7

    Re: Terrain Texturing Demo

    Link is broken...
    Last edited by Jimmy Valavanis; 30-03-2012 at 04:37 PM.

  8. #8
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Re: Terrain Texturing Demo

    Quote Originally Posted by Jimmy Valavanis
    Link is broken....
    Alright who broke it?

    Neat demo, I'll be sure to check it out once I get home.
    Jason McMillen
    Pascal Game Development
    Co-Founder





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •