1. Home
  2. Forums
  3. Downloads
    1. Featured Files
  4. Gallery
    1. Albums
  5. Guides
    1. SirenSetting Calculator
  6. Discord
  7. Accurate Studio
  • Login
  • Register
  • Search
Vehicle Modifications
  • Everywhere
  • Vehicle Modifications
  • Forum
  • Gallery
  • Files
  • Guides
  • More Options
  1. Modding Forum
  2. Guides
  3. Grand Theft Auto V
  4. Creating Mods
  5. Vehicle Modifications

Dirt Maps

  • Cj24
  • February 26, 2018 at 4:26 PM
  • 18,477 Views
  • 0 Comments
GTA V uses a so-called dirt map to generate dirt effects on the exterior of vehicles. This guide explains how dirt mapping is set up.

The colors of the dirt in-game depends on the area of the map. In most areas, the dirt will be brown, in the desert beige and in parts of the swamps and other areas green. In North Yankton, dirt will be white.

By default, the game uses one shared dirt map for all cars. Some mod authors also use custom dirt maps made for specific vehicles for better looking results.

Model: Mapping a dirt map

Dirt maps are UV-mapped like any other texture, however they commonly use the UV2 channel, or the UV1 channel for paint materials that use UV2 for the diffuse. More information about UV channels can be found in the Materials and Shaders guide.

The generic vehicle_genericmud_car texture is included in the vehshare.ytd and can be used by every vehicle with properly configured txdRelationships. Many mod authors also choose to create a custom dirt map created specifically for a certain vehicle.

Textures

A dirt map contains three textures. Each texture is a seperate greyscale texture saved in one RGB channel:

  • Red: Applies dirt effects while roads are dry.
  • Green: Decreases specularity while the car is dirty. By default it's a high contrast version of the red channel.
  • Blue: Applies dirt effects while roads are wet.

Combined RGB channels   Red channel   Green channel   Blue channel

The diffuse will be applied as an overlay on top of the surface. Lighter areas on each channel will have a stronger effect, darker areas a weaker effect. Black will have no effect at all.

Authors

  • Cj24

    Administrator
    Accurate Studio
  • GreenAid

    Developer

Previous Guide Materials and Shaders

Next Guide Emergency Lights: Rotator Lightbars and Wig-Wags

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

Authors

  • Cj24

    Administrator
    Accurate Studio
  • GreenAid

    Developer

Categories

  1. Grand Theft Auto V 21
  2. Installing Mods 4
  3. Creating Mods 17
  4. Texturing 4
  5. Modeling 2
  6. Vehicle Modifications 11
  7. Reset Filter
  1. Terms Of Use
  2. Privacy Policy
  3. Legal Notice
  4. Contact
Powered by WoltLab Suite™