Jump to content

Issue with Transparency on Replaced Vehicles When


Artyom888

Recommended Posts

Subject: Issue with Transparency on Replaced Vehicles When Using dl_lightmanager

Problem Description:
I am using the dl_lightmanager resource to create headlight effects in MTA:SA. The issue is that when the light hits replaced (modded) vehicles, their body becomes semi-transparent.

Details:

  • The issue does not occur on default GTA SA vehicles.

  • On modded vehicles, when exposed to light, the body becomes partially transparent.

  • I am using standard dl_lightmanager functions to create light sources.

  • I have checked various textures and shaders, but I couldn’t identify the cause.

What I've tried so far:

  1. Removing shaders using engineRemoveShaderFromWorldTexture, but it doesn’t fix the problem.

  2. Checking model textures using engineGetModelTextureNames() — all textures seem to load correctly.

  3. Adjusting light parameters (setLightAttenuation, setLightColor), but the transparency issue persists.

Question:
How can I fix this issue? Could it be related to how dl_lightmanager handles lighting or to the material settings in the vehicle model? Any help would be greatly appreciate

1.jpg

https://ibb.co/x83mZzHw

Edited by Artyom888
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...