Textures and materials - SuperCatGaming/Velocity-Redux-Mod-Creator GitHub Wiki

Provided materials

For your convenience, you are provided with some common materials that could aid you when you texture a car. These materials are located in [Assets/Common Resources/Materials]. You will notice that there are two folders here.

Without toon shader

Because VRX uses a non-free shader, we could not provide it to modders. Because of this, the "WithoutToon" folder contains materials that are modified from the base game to use the a shader provided by Unity. This means that the mods which use these materials will not have the same look as the game, but it is unfortunately a trade-off that had to be made.

Toon shader

The materials with the toon shader are provided in the case that anyone wants to get the toon shader used in VRX (or any other toon shader), as it should retain the material settings. (Disclaimer: Toon shaders other than the one used by VRX may not retain or even have the same settings, so it could be hit or miss). This is completely optional and mostly not recommended as it costs money. The toon shader used by VRX is RealToon.

Adding custom textures/materials

For some mods, you may want to add custom textures or materials. Fortunately, adding custom textures/materials is simple.

  1. Import the texture into Unity; if you want a flat color, you can skip this step
  2. Create a material through the menu [Assets > Create > Material] image
  • Without RealToon
    1. Under "Surface Inputs", the first option "Base Map" can be used to apply a texture or a color to the material.
      • To apply a texture, click the circle to the left of "Base Map" image
    2. You can play around with the other material properties to your liking. You can also change the shader (at the top) if you like, but this is generally not recommended unless you know what you're doing.

[!Tip] You can see how the changes you make affect the look of the material by looking at the display at the bottom of the inspector.

  • With RealToon
    1. To match the rest of the game, switch the shader of the material to Real Toon. At the top of the inspector, click the "Shader" dropdown. Select [Universal Render Pipeline > RealToon > Version 5 > Default > Default]
    2. Open the "Texture" Dropdown. If you imported a texture, add the texture to the box that says "None (Texture)" image
      Otherwise, select a color by clicking the box next to "Main Color"
    3. If you would like to add gloss, open the "(Disable/Enable Features)" dropdown and check the box that says "Gloss". A new dropdown named "Gloss" will appear. Edit the settings to your liking.