Log in to reply

Is there a way to stop the darkening of damaged vehicle parts?

  • Something that has bothered me since the game came out; when a car is heavily damaged, the area that's damaged gets this weird darkening shadow effect to it. Even if the part includes a chrome bumper or something. It's stupid as hell. Tell me there is a way to disable this!

  • @PermissionToLand
    I've never noticed anything like that. Can I see some pics? Will have a better idea of what might be causing it once I see it :thumbsup:

  • @a63nt-5m1th This isn't the worst example but you can see the difference in the chrome trim obviously:
    alt text

  • @PermissionToLand
    I'll see if I can recreate it in my game, take a closer look at what it's doing now I know what to look for :thumbsup:

  • @a63nt-5m1th Thanks man, it helps to increase your deformation multiplier because it takes pretty heavy damage before you start seeing it. Here's a more obvious example:

    alt text

  • @PermissionToLand
    I think it might be a shader or something that is doing it. Don't think you'll have much luck getting rid of it, other than limiting deformation. :/

    The chrome (on the Peyote at least) comes from the dark coloured area (highlighted by yellow box) in the 'vehicle_generic_detail2' texture in your 'vehshare.ytd's.

    Chrome vehicle_generic_detail2

    Setting it to silver, black or making the area transparent does nothing to change the darkening on damage.
    Funny thing though, if you change it to a colour, especially a light one, you don't really see the darkening effect, but that's not much use, unless you want turquoise chrome :/
    When using a light colour like turquoise, the very small amount of darkening that does happen stays the same colour (roughly), which would tend to indicate that it is not an additional texture overlay that is being utilised, but rather something like a shader that alters the properties of the original colour to create the effect.

    Best guess it's part of 'vehicle_apply_damage.fxc' or 'vehicle_detail2.fxc' or something (I notice a reference to 'DamageTextureOffset' in a lot of the vehicle based shaders).
    The only way I found to stop it appearing was to limit the deformation.

  • @a63nt-5m1th Wow, great work. Thank you for looking into it. It's such a weird feature, like they want to hide the damaged areas in shadow once they get deformed badly. Maybe because the deformation is less realistic than IV. I guess I'll just have to hope that they get rid of this stupid feature in GTA6.

  • @PermissionToLand said in Is there a way to stop the darkening of damaged vehicle parts?:

    I guess I'll just have to hope that they get rid of this stupid feature in GTA6

    I hope so, it looks like :poop:. Like they weren't even trying :/

  • @a63nt-5m1th @PermissionToLand


    You can export the fragment to .xml using Codewalker, and then edit the shaders in the xml.

  • @grateful_for_mods said in Is there a way to stop the darkening of damaged vehicle parts?:

    You can export the fragment to .xml using Codewalker

    Awesome, that could be a whole new area of fun for me :slight_smile: :thumbsup: (only ever used Codewalker in regard to Timecycle Modifiers)
    Could you give us a few pointers on the exact process required to export the fragment to .xml & how one might install it once edited? Thanks

  • @a63nt-5m1th

    It's as simple as it can possibly be. You just search for the fragment you need in the RPF explorer. Then you choose Export XML, edit what you want to edit, and then you choose Import XML.

    The RPF explorer inside of CodeWalker is LIGHTNING fast, and among many other advantages, it gives you the option of instantly sorting your search results. CodeWalker also has binary search and World search options and much much more.

    I hope you are going to have just the amount of fun you are hoping for.




  • @grateful_for_mods
    Thanks for that :thumbsup:
    I'll have a play around with it & see what new possibilities it opens up :slight_smile: :thumbsup:

  • Well, that's all above my head but good news! I forgot to mention, it's not just chrome parts that get this shading, the body panels seem to as well.

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.