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

Outline Material?

Discussion in 'Help & Documentation' started by Videyo, Mar 27, 2017.

  1. Videyo

    Videyo New Member

    Joined:
    Mar 20, 2017
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    In-Game Name:
    Videyo
    I've seen this done before, so I'm pretty dang sure it's possible. I just have no idea how to go about doing it, I'm terrible with material files.

    Basically I'm looking for a way to create this effect, just like an outline outside of the character.
    I tried playing around with this guy's material but to no avail. I dunno if it's only meant for a specific shader or whats up.

    The material itself kinda works, like the texture still shows up at least, the outline just doesn't show up.
    Code:
    material videyo_ozzy
    {
        receive_shadows on
        technique
        {
            pass OutlineExperiement
    {
        diffuse 1 1 1
        set $edgeScale 900
        set $sinkScale 1
        vertex_program_ref OutlineExperimentVP
        {
            param_named edgeScale float $edgeScale
            param_named sinkScale float $sinkScale
        }
            {
            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 ozzytex.png
                }
            }
        }
    }
    }
     
  2. SparkleWolf404

    SparkleWolf404 Active Member

    Joined:
    Nov 19, 2015
    Messages:
    924
    Likes Received:
    81
    Gender:
    Female
    In-Game Name:
    SparkleWolf404
    Alas, that coding is not compatible with this server.
    I think that kind of coding requires certain flies to be within the core game which DoE lacks.

    The game is still in alpha so maybe in the future @Myz could fix this issue as well as the asymmetrical marks which also don't work.
     
  3. Videyo

    Videyo New Member

    Joined:
    Mar 20, 2017
    Messages:
    15
    Likes Received:
    0
    Gender:
    Male
    In-Game Name:
    Videyo
    Dang that's a bummer. Thanks for letting me know though!!
     
  4. SparkleWolf404

    SparkleWolf404 Active Member

    Joined:
    Nov 19, 2015
    Messages:
    924
    Likes Received:
    81
    Gender:
    Female
    In-Game Name:
    SparkleWolf404
    Not a problem.

    From my experience all other presets codes will work including scrolling, glow, layered markings, asymmetrical eyes and so on. (minus cel shading, which falls under the outline problem)
     

Share This Page