Weird weapon lighting in the game
-
- Posts: 4
- Joined: Wed Jan 03, 2024 7:22 pm
Weird weapon lighting in the game
For some reason the weapons I modified have weird colors in the game, I think it has something to do with the env texture. The last time I made mods was in November and everything was working normally. Please help me fix or identify the problem if possible.
Re: Weird weapon lighting in the game
attach a cube/box geometry object to main weapon part and assign the same material onto this cube; then test in game and/or record a video on how this cube is shaded in game.
Most of shading issues are caused by normal-map texture (mismatching the geometry or geometry having wrong normals/tangents and failing to use normal-texture properly in computations).
Most of shading issues are caused by normal-map texture (mismatching the geometry or geometry having wrong normals/tangents and failing to use normal-texture properly in computations).
-
- Posts: 4
- Joined: Wed Jan 03, 2024 7:22 pm
Re: Weird weapon lighting in the game
I won't be able to send the video right now, but it seems that the cube is not affected like the weapon, it really seems to be a problem with the normal map texture and I think it could be something to do with zmodeler.Oleg wrote: ↑Thu Jan 04, 2024 1:04 am attach a cube/box geometry object to main weapon part and assign the same material onto this cube; then test in game and/or record a video on how this cube is shaded in game.
Most of shading issues are caused by normal-map texture (mismatching the geometry or geometry having wrong normals/tangents and failing to use normal-texture properly in computations).
I tried redoing this weapon and making other weapons to try to solve the problem, but it continues, and I also tried reinstalling zmodeler, but nothing worked
-
- Posts: 4
- Joined: Wed Jan 03, 2024 7:22 pm
Re: Weird weapon lighting in the game
And also, the color on the zmodeler is much darker than other weapons I've made. I don't know if that would have anything to do with it.Oleg wrote: ↑Thu Jan 04, 2024 1:04 am attach a cube/box geometry object to main weapon part and assign the same material onto this cube; then test in game and/or record a video on how this cube is shaded in game.
Most of shading issues are caused by normal-map texture (mismatching the geometry or geometry having wrong normals/tangents and failing to use normal-texture properly in computations).
-
- Posts: 4
- Joined: Wed Jan 03, 2024 7:22 pm
Re: Weird weapon lighting in the game
I found out that the problem is with the 3d model, and is not caused by zmodeler, it is caused by 3dsmax which is flipping the normal maps because of some bug.Oleg wrote: ↑Thu Jan 04, 2024 1:04 am attach a cube/box geometry object to main weapon part and assign the same material onto this cube; then test in game and/or record a video on how this cube is shaded in game.
Most of shading issues are caused by normal-map texture (mismatching the geometry or geometry having wrong normals/tangents and failing to use normal-texture properly in computations).
Re: Weird weapon lighting in the game
Does Surface\Normals\Calculate tool applied to the geometry in ZModeler make any changes?
-
- Posts: 1
- Joined: Wed Feb 05, 2025 9:30 pm
Re: Weird weapon lighting in the game
I've noticed some odd weapon lighting effects too, especially in darker areas where reflections seem off. It might be a shader issue or something with how the game handles dynamic lighting. Have you tried adjusting the graphics settings or updating your drivers? Sometimes mods or custom shaders can help tweak these effects. If you're looking for alternate versions of the game to test on different settings, you might find this site https://heyapks.com/ useful. Let me know if you find a fix!