Artyom888 Posted Sunday at 17:57 Share Posted Sunday at 17:57 (edited) 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: Removing shaders using engineRemoveShaderFromWorldTexture, but it doesn’t fix the problem. Checking model textures using engineGetModelTextureNames() — all textures seem to load correctly. 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 https://ibb.co/x83mZzHw Edited Sunday at 18:03 by Artyom888 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now