Lightmask does not work
Lightmask does not work
Hey, I have been trying to make a auxiliary light for quite a while now, but I have ran into an issue with trying to make the lights work.
The red circled areas are meant to be yellow DRLs, but have not gotten them to work. Nor even white DRLs work. The lightmask for them is black, and the UV tile is middle The green aka highbeams work just as they are meant to. Have tried everything from new materials to different textures and everything inbetween. Any help is appreciated, so wouldn't have to scrap the project.Re: Lightmask does not work
From the SCS Modding Wiki:
You'll need to slightly redesign your lamps to work within the constraints of SCS Software's lighting system for auxiliary lamps.Auxiliary lights
Auxiliary lights on vehicles can also have separate second mask texture but they use only two channels from light mask texture:
R - dimmed beam
G - full beam
B - not used and must be zero (black)
A - not used and must be zero (black)
There is also possible to use two different colors for auxiliary lights with offsetting UV mappings for second mask texture. Tile offset here is also done on the right side of the texture:
original texture - white color
first texture tile - orange color
Re: Lightmask does not work
Oh what, they really work from a different principle? Well, must say this is an interesting design choice by SCS, never noticed this in 2 years. Thank you so much! How does the game differentiate which light uses the auxiliary lights principle and which the normal vehicle lights principle?
Last edited by OneSpeaks on 10 Nov 2024 16:36, edited 2 times in total.
Re: Lightmask does not work
That part, I do not know. I presume it has something to do with where the lamp is allowed to be mounted.
If it is mounted on the bull bars or roof bars, they are considered auxiliary lamps to the best of my knowledge.
If it is mounted on the bull bars or roof bars, they are considered auxiliary lamps to the best of my knowledge.
Re: Lightmask does not work
In addon_hookup file, an entry callled electric_type, this part switched between vehicle or aux_light and game knows, check that
electric_type: aux_light
Re: Lightmask does not work
I-it was just that simple? I had been stuck on this for a month, thank you!
Who is online
Users browsing this forum: No registered users