Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


2 posters

    how to convert the shading in fog?

    mmed
    mmed
    Don't Hurt Me!
    Don't Hurt Me!


    Male
    Number of posts : 52
    Age : 30
    Registration date : 2012-07-25

    how to convert the shading in fog? Empty how to convert the shading in fog?

    Post by mmed Sat Jan 18, 2014 5:21 am

    I try to change the color and more closer to the player

    but starts by degrading it to gray to black





    degrades any color to black  Shocked  Question  Question 


    any idea how to fix this? (shading on 32-bit does not help me for what I'll do in my mod  Confusion )
    Mega Luigi
    Mega Luigi
    Bring em' On!
    Bring em' On!


    Number of posts : 161
    Age : 14
    Registration date : 2012-11-01

    how to convert the shading in fog? Empty Re: how to convert the shading in fog?

    Post by Mega Luigi Sat Jan 18, 2014 8:14 am

    I'm not sure how does the 32 bit shading does that, so I'll answer you based on the regular one.

    Are you sure you actually changed the color and not the strength of the shading?

    For example, in

    {   0,   0,   0, LSHADE_NORMAL }, which is the normal shading, "LSHADE_NORMAL" is the strength, and changing it to "LSHADE_FOG" won't make it look brighter. The colors are the first three numbers (Red, Green, Blue).


    If you want it to look like a fog, you probably should try values of 200 or something near that.
    mmed
    mmed
    Don't Hurt Me!
    Don't Hurt Me!


    Male
    Number of posts : 52
    Age : 30
    Registration date : 2012-07-25

    how to convert the shading in fog? Empty Re: how to convert the shading in fog?

    Post by mmed Wed Jan 22, 2014 11:05 am

    is degraded to black
    Mega Luigi
    Mega Luigi
    Bring em' On!
    Bring em' On!


    Number of posts : 161
    Age : 14
    Registration date : 2012-11-01

    how to convert the shading in fog? Empty Re: how to convert the shading in fog?

    Post by Mega Luigi Wed Jan 22, 2014 1:57 pm

    It doesn't. Look at the images below, tell me if that is anything near what you want. For the first screen, I used the default constant LSHADE_NORMAL, which is 0, for the fog strength. For the second one, I used 20.

    how to convert the shading in fog? Wshot029

    how to convert the shading in fog? Wshot030
    mmed
    mmed
    Don't Hurt Me!
    Don't Hurt Me!


    Male
    Number of posts : 52
    Age : 30
    Registration date : 2012-07-25

    how to convert the shading in fog? Empty Re: how to convert the shading in fog?

    Post by mmed Thu Jan 23, 2014 5:22 am

    ok,thanks

    Sponsored content


    how to convert the shading in fog? Empty Re: how to convert the shading in fog?

    Post by Sponsored content


      Current date/time is Thu Nov 21, 2024 4:38 am