Wolf3d Haven Forum

Please log in or register. Smile
Wolf3d Haven Forum

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


    how to convert the shading in fog?

    Share

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

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

    how to convert the shading in fog?

    Post by mmed on 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 ShockedQuestionQuestion


    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
    Bring em' On!
    Bring em' On!

    Number of posts : 135
    Age : 13
    Registration date : 2012-11-01

    Re: how to convert the shading in fog?

    Post by Mega Luigi on 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
    Don't Hurt Me!
    Don't Hurt Me!

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

    Re: how to convert the shading in fog?

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

    is degraded to black

    Mega Luigi
    Bring em' On!
    Bring em' On!

    Number of posts : 135
    Age : 13
    Registration date : 2012-11-01

    Re: how to convert the shading in fog?

    Post by Mega Luigi on 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.




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

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

    Re: how to convert the shading in fog?

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

    ok,thanks

    Sponsored content

    Re: how to convert the shading in fog?

    Post by Sponsored content Today at 3:35 am


      Current date/time is Sat Dec 03, 2016 3:35 am