Material badges alpha not showing in game

GTA:V Modding with ZModeler3 discussion.
Post Reply
kimpet
Posts: 46
Joined: Fri Aug 14, 2015 6:42 pm

Material badges alpha not showing in game

Post by kimpet »

Image

Image

Image

Image

Image
User avatar
Oleg
Site Admin
Posts: 14662
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Material badges alpha not showing in game

Post by Oleg »

you can use only vehicle_tire and vehicle_tire_emissive shaders on the wheel. any other shader will not be drawn in game.
kimpet
Posts: 46
Joined: Fri Aug 14, 2015 6:42 pm

Re: Material badges alpha not showing in game

Post by kimpet »

Oleg wrote: Mon Nov 04, 2024 1:49 am you can use only vehicle_tire and vehicle_tire_emissive shaders on the wheel. any other shader will not be drawn in game.
alpha channel dont work on vehicle_tire material that is why I used badge it work in old version of zmod

this is from old version of zmod badge material in game
Image

Image
User avatar
Oleg
Site Admin
Posts: 14662
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Material badges alpha not showing in game

Post by Oleg »

you can use vehicle_badge shader on "hub" object, it will have transparency. You can not use "vehicle_badge" shader on "wheel" object. The game will not render anything but vehicle_tire or vehicle_tire_emissive shader when drawing wheels.
User avatar
Oleg
Site Admin
Posts: 14662
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Material badges alpha not showing in game

Post by Oleg »

oh.. I've just noticed you are not having an issue with the wheel itself and the badges shader is actually used on a brake caliper. There should be no issue if you do everything right. may be your texture is missing in game (the game can't find it or can't load it?) Assign any other transparent texture that is already used in a vehicle as a quick test - just to check whether something is rendered or not.

I've made a quick test - created a set of polygons, assigned a newly-created vehicle_badges material onto these polygons and used a test 32-bit RGBA texture with transparency (exported it as embedded in .yft file). Everything works as it should in game:
Screenshot 2024-11-05 195105.png
kimpet
Posts: 46
Joined: Fri Aug 14, 2015 6:42 pm

Re: Material badges alpha not showing in game

Post by kimpet »

Oleg wrote: Tue Nov 05, 2024 8:54 am oh.. I've just noticed you are not having an issue with the wheel itself and the badges shader is actually used on a brake caliper. There should be no issue if you do everything right. may be your texture is missing in game (the game can't find it or can't load it?) Assign any other transparent texture that is already used in a vehicle as a quick test - just to check whether something is rendered or not.

I've made a quick test - created a set of polygons, assigned a newly-created vehicle_badges material onto these polygons and used a test 32-bit RGBA texture with transparency (exported it as embedded in .yft file). Everything works as it should in game:
Screenshot 2024-11-05 195105.png
in game it doesnt appear
User avatar
Oleg
Site Admin
Posts: 14662
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Material badges alpha not showing in game

Post by Oleg »

it should.
take any badge from the vehicle (that works in game), detach polygons, move and attache them to caliper. just to test things. if this works in game, then the issue is your original material or your original texture you've used earlier.
Post Reply