Results 1 to 10 of 14

Thread: Heightmap Terrain flicker

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    i will most likely just implement a quad based render queue

    EDIT

    maybe you can help me out with something?

    i'm fairly new to HLSL and i've ran into a difficulty... rather than hardcoding my alphamap scaler value i want to automatically stretch the alphamap across the whole terrain automatically.... any ideas how i can accomplish this? I was thinking of 2 options....

    1: divide 1 by vertices of the terrain, so 64 vertices terrain = 1 / 64.
    2: add an internal semantic into my effect loader to grab the dimensions of the model.

    what do you think?
    Last edited by Colin; 02-04-2012 at 08:38 PM.
    Download the Ziron Assembler
    Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.

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
  •