Welcome to Dawn of Eternity

In order to download and play the game you need to sign up for an account and activate it, it's free. Once you have an active account you will be able to see the download page at the top of the forum.

Sign Up

Solved Grass and Water look white while making map

Discussion in 'Game Help' started by Patchyfish, Jul 28, 2015.

  1. Patchyfish

    Patchyfish Member

    Joined:
    Jun 22, 2015
    Messages:
    82
    Likes Received:
    12
    In-Game Name:
    Patchyfish
    So I'm making my map, putting in random trees, works fine......add random grass but for some reason it looks WHITE?......moments later i added the water plane along with the reflection but that doesn't look right either.

    [​IMG]
     
  2. Zombie

    Zombie Member
    Developer

    Joined:
    Dec 3, 2014
    Messages:
    37
    Likes Received:
    9
    Gender:
    Female
    In-Game Name:
    Zombie
    When something is all white it usually means there's a problem with the material file or texture image itself. What do you mean by random grass? Are you using a grass mask or something else? Because when using a grass mask you have to tell it what texture to use.

    The first line (where I have green) is the material name you want for your grass texture. And the second line (blue) would be your grass mask image.

    [Grass]
    cmgrass
    cmgrassmask.png

    You can make your own material and textures for the grass if you want to make it more custom; or just use one of the ones for the game already. I actually think your grass is white because the actual texture image for the plain 'grass' material is white. Try using this instead; this ones green. c: (With your own mask image of course)

    [Grass]
    greenGrass
    yourgrassmaskhere.png
    -----------

    I'm not sure about your water though from just the image; what bit of code are you using exactly for it?
     
  3. Myz

    Myz Administrator
    Staff Member

    Joined:
    Nov 1, 2014
    Messages:
    345
    Likes Received:
    46
    In-Game Name:
    Myz
    Show us what you put in the world file
     
  4. Patchyfish

    Patchyfish Member

    Joined:
    Jun 22, 2015
    Messages:
    82
    Likes Received:
    12
    In-Game Name:
    Patchyfish
    [Grass]
    grass
    defaulterrainmask.png

    [ReflectiveWaterPlane]
    2000 205 2000
    16
    16
    Water/Slack
    Water/Default

    [ReflectiveWaterPlane]
    2000 205 2000
    16
    16
    Water/Default
    false
    true
     
  5. Myz

    Myz Administrator
    Staff Member

    Joined:
    Nov 1, 2014
    Messages:
    345
    Likes Received:
    46
    In-Game Name:
    Myz
    You can't have two ReflectiveWaterPlane, pretty sure you mean WaterPlane for the last one. I updated the world doc page since it was wrong.
     
  6. Patchyfish

    Patchyfish Member

    Joined:
    Jun 22, 2015
    Messages:
    82
    Likes Received:
    12
    In-Game Name:
    Patchyfish
    Oh lol.......yep ok that works fine now :D
     

Share This Page