Forum Mod Bakery Docs

Translucent roofs

Posted in Support
Please login to contribute to the conversation.
This image is no longer available because of changes to Discord's CDN

How would i be able to make the roof of this car translucent? I honestly have no clue
Make the texture for the roof transparent and make sure the shader is set to Alpha.
Assuming you mean the same way cars in the original game do it, you'll want to give the roof a specifically named shader.

In order to do this, you'll need Blender. Substitute all mentions of yelfer_v throughout this for the name of your vehicle.

You'll want to find the main body mesh of your vehicle, right click it, and choose Export Model. It will most likely be the name of the vehicle followed by "Shape", e.g. yelfer_vShape.

Next, you'll want to import the resulting OBJ file into Blender. Once you're in edit mode, select the faces you want to turn translucent, then create and assign a material named yelfer_vRoof_m to those faces.

Once this material is assigned, you want to export the OBJ file from Blender and import it into your P3D file. You should get something like this:

Now you'll want to create a texture that is just the color of your car. It needs to have a length and width that are powers of two, for this purpose, 16px by 16px is fine. Import this using the Edit dropdown menu in the P3D Editor and choosing New > Texture. After you've done this, you should copy an existing shader, the windshield shader will work nicely for this without any property changes. Rename the copy you just made to yelfer_vRoof_m and make sure the texture field leads to the texture you just imported.
The shader will have to be below the texture in the overall file list.

Assuming everything went correctly, the roof should turn translucent when you enter the vehicle.
This post has been removed.
5 yrs ago (Statistics)