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

Glowing Eyes

Discussion in 'Help & Documentation' started by Nahual, Nov 17, 2016.

  1. Nahual

    Nahual New Member

    Joined:
    Nov 6, 2016
    Messages:
    7
    Likes Received:
    1
    Gender:
    Female
    In-Game Name:
    Nahual
    I have read through this thread: http://dawn-of-eternity.com/community/threads/glowing-markings-preset-maybe-scrolling.223/#post-2067 and looked through the materials and resources posted there, including Myz's tutorials and the preset video tutorial. I have figured out how to manipulate the glow factor for markings, but I am still having trouble understanding how to make the eyes glow. I reviewed the code to asymmetrically manipulate each eye and have attempted to play with that code to achieve the goal of making both eyes glow (same color) without success. Admittingly, some of the technical information is confusing for a person just starting out. Have I overlooked something? Is there a glow code specifically for the eyes?

    This is the material file I currently have in my folder:
    Code:
    texture nahual_nahualpreset.png
    tex_address_mode wrap
    filtering trilinear
    }
    }
    }
    
    material nahual_nahualpreset
    {
    receive_shadows on
    
    technique
    {
    scheme glow
    pass
    {
    texture_unit
    {
    texture marking1.png
    }
    ambient 0 0 0
    diffuse 0 0 0
    specular 0 0 0 1
    emissive 0.20 0.1 0.10
    
    }
    }
    
    
    technique
    {
    pass
    {
    ambient 0.95 0.95 0.95 1
    diffuse 0.6 0.6 0.6 1
    specular 0.1 0.1 0.1 1
    
    texture_unit
    {
    texture nahual_nahualpreset.png
    tex_address_mode wrap
    filtering trilinear
    }
    texture_unit
           {
             texture fur2.png
           }
    }
    }
    
    }
    This is what is everything in my "preset" folder:

    [​IMG]

    Thanks!
    --Fawn H./Nahual
     
    #1 Nahual, Nov 17, 2016
    Last edited: Nov 17, 2016
  2. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    78
    Gender:
    Female
    heh, well i can tell you this:
    Once you have made your preset to you desire, have a blank/transparent file JUST for the eyes that can over lap your preset and make them glow.
    As so:
    [​IMG]
    As you can see, I have the preset (named snuggypink_champagne.png) and the glow file separate so it over laps the preset in order to glow the way I intended (named champholy.png)

    The coding is a bit tricky as well, but if you would like help i'll be sure to pm you the correct coding to use
     
    • Useful Useful x 1
  3. Nahual

    Nahual New Member

    Joined:
    Nov 6, 2016
    Messages:
    7
    Likes Received:
    1
    Gender:
    Female
    In-Game Name:
    Nahual
    I figured out how to save the markings in a separate file and overlap them like you suggested. Problem solved. Thank you for your help!
     
    • Like Like x 1

Share This Page