Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 11, 2016 18:42:23 GMT -6
anyone have an idea on how to make my gauges light up when i turn my headlights on? I've sometimes seen them animated and textured to a light up texture, but the game doesnt do it this way. If anyone has done with without having to animate the gauge faces, hit me up
|
|
|
Post by -=Bora=- on Mar 11, 2016 19:10:10 GMT -6
I haven't done it in ATS yet but in ETS2 I use a dif.lum shaded. Then my gauges etc. light up when I turn on the parking light. As far as I know the only reason to animate it is if you want it to light up with a custom color, normal white background lighting works fine the old fashion way
|
|
eclipse
Gold Certificate Member
Posts: 320
|
Post by eclipse on Mar 11, 2016 19:39:26 GMT -6
I'll 2nd dif.lum works in ATS
|
|
Smarty
Gold Certificate Member
PTTM Hardcore
Cooookie!
Posts: 564
|
Post by Smarty on Mar 11, 2016 20:16:53 GMT -6
For sure, dif.lum is what you want. For this material, the alpha channel acts as the luminance mask. For objects belonging to the interior, its behaviour is tied to the state of the lights. When the lights are off, the whole thing acts as dif. When the lights are on, it acts like dif.lum so the texture is blended unlit/self-lit (not 100% sure on the actual math, but close enough) on top of itself by a factor of the alpha channel, multiplied with whatever the backlight colour is (usually white). The bits you actually need to know/care about: - The alpha channel determines how much the gauge lights up.
- The rgb channels determine what colour it is when it's not lit up, and what colour it is when it does light up.
- The dif material – and dif.lum by extension – actually has specular, but it's not tied to alpha. If you don't set the specular colour to black, or damned near it, your gauge faces will glare and you will have a bad time.
- Currently, there's not a material that allows both lum mask and spec/env mask. Unless I'm wrong... which happens.
|
|
RBR-DUK
Frequent Flyer
You ever seen a duck that couldn’t swim? Quack, quack!
Posts: 685
|
Post by RBR-DUK on Mar 12, 2016 6:38:41 GMT -6
MULTIPLE DASHBOARD COLORS
ETS 2 The luminosity materials on the truck dashboard now support up to 16 different sets of colors. The color slots are defined using dashboard_color array in the interior. The color slot used for part of the geometry is selected using integer part of UV coordinates of the geometry. See new dashboard_color.sui in our trucks.
ATS def/dashboard_lamp_colors.sii
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 12, 2016 12:25:35 GMT -6
thank you dudes!
i have my gauges set to dif_lum currently, and they are just like haulin, always lit up. i'll figure it out though. next thing on my list is figuring out how to re-work the dashboard display so it looks more mack-ish
|
|