Hello Oleg.
Ihave a problem when i try to modify interior light. I've use the dif lum shader for it, in game when i turn lights on, everything is good, but when i turn lights off, i can still see the light texture, i'll leave some pictures here
1: settings in zmodeler, with the mat file i've used
https://ibb.co/RbGbd3W
without mat file
https://ibb.co/G0HWpY0
in game lights on
https://ibb.co/sWr3Nv9
in game lights off
https://ibb.co/yFFLqt5
As you can see, the light texture is still there when lights is turned off, but dimmed. Isn't there a way to hide the red light texture when the lights is turned off?
Interior light ets2
Moderator: Oleg
Re: Interior light ets2
The game version 1.4 has a remastered shaders code, in particular dif.lum.
There is an additional shader parameter that is not supported by ZModeler: you can assign user-defined property "Scale" and specify two values there. I don't know the meaning of these, you should probably find some similar material in original game content and take values from that material.
Try
Scale: 10, 20
and see whether something changes or not.
There is an additional shader parameter that is not supported by ZModeler: you can assign user-defined property "Scale" and specify two values there. I don't know the meaning of these, you should probably find some similar material in original game content and take values from that material.
Try
Scale: 10, 20
and see whether something changes or not.
-
- Posts: 19
- Joined: Mon Nov 02, 2020 8:00 am
Re: Interior light ets2
Nothing happens, still the same. any suggestion what i can try now?
Re: Interior light ets2
re-import your model and make sure your "Scale" settings are retained. If they are not, you have not made it right, so no changes were expected to appear in the game.
-
- Posts: 6
- Joined: Wed Apr 21, 2021 5:06 am
Re: Interior light ets2
I have exactly the same problem as Daniel, is there a way to do it by exporting or other because a friend does it like me it works but not for me ?
Re: Interior light ets2
check the generated .mat file for problematic material. I suppose something is not OK in this material. you can compare the one generated by your copy of ZModeler with the one generated by your firend's ZModeler. If you post both .mat files here, I'll tell you what is wrong.