Headlight texture

GTA:V Modding with ZModeler3 discussion.
Post Reply
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Headlight texture

Post by andreas132z »

Hi, I'm trying to create this type of lights, but the first texture appears transparent in the game. What can I do?


https://imgur.com/a/BhedEzz
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

anyone?
User avatar
Oleg
Site Admin
Posts: 14499
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Headlight texture

Post by Oleg »

show a screenshot from the game.
the "vehicle_badges" shader probably uses cut-out alpha technique (either visible pixel or fully invisible). It might not use texture's alpha for semi-transparent render. Just a guess, I'm not into modding and can't remember all the details and aspects.
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

https://imgur.com/a/5s18oIu (scroll down)

I checked a car, and it also has the same veh_badges, and I used the car's texture on my model, but the shader doesn't work for me, while it works on the other car.
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

Oleg wrote: Fri Aug 30, 2024 11:39 am show a screenshot from the game.
the "vehicle_badges" shader probably uses cut-out alpha technique (either visible pixel or fully invisible). It might not use texture's alpha for semi-transparent render. Just a guess, I'm not into modding and can't remember all the details and aspects.
dn
User avatar
Oleg
Site Admin
Posts: 14499
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Headlight texture

Post by Oleg »

try "vehicle_decal" and check in game whether it has the same result as "vehicle_badges".
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

Oleg wrote: Tue Sep 03, 2024 11:13 am try "vehicle_decal" and check in game whether it has the same result as "vehicle_badges".
same with vehicle_decal
User avatar
Oleg
Site Admin
Posts: 14499
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Headlight texture

Post by Oleg »

extract all the "top glass" polygons into a separate object/part (e.g. misc_t) and put it in the bottom of hierarchy. just for test. does this make any changes in game?
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

Oleg wrote: Wed Sep 04, 2024 12:22 am extract all the "top glass" polygons into a separate object/part (e.g. misc_t) and put it in the bottom of hierarchy. just for test. does this make any changes in game?
still the same
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

Oleg wrote: Wed Sep 04, 2024 12:22 am extract all the "top glass" polygons into a separate object/part (e.g. misc_t) and put it in the bottom of hierarchy. just for test. does this make any changes in game?
https://imgur.com/a/uB6kvOP
The game seems to have something, but it's super transparent. I haven't modified the textures at all, and it works perfectly on the other model.
User avatar
Oleg
Site Admin
Posts: 14499
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Headlight texture

Post by Oleg »

what's about the texture's alpha channel? may be it's way too dark and makes rendered material too transparent? paint texture's alpha to some brighter shades of grey color to increase opacity.
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

Oleg wrote: Wed Sep 04, 2024 4:05 am what's about the texture's alpha channel? may be it's way too dark and makes rendered material too transparent? paint texture's alpha to some brighter shades of grey color to increase opacity.
alpha channel its white
andreas132z
Posts: 64
Joined: Sun Apr 30, 2023 5:47 pm

Re: Headlight texture

Post by andreas132z »

Oleg wrote: Wed Sep 04, 2024 4:05 am what's about the texture's alpha channel? may be it's way too dark and makes rendered material too transparent? paint texture's alpha to some brighter shades of grey color to increase opacity.
works very nice with veh_glass but sadly i cant put a bump map on it
Post Reply