GTA V: Bug when breaking a window

GTA:V Modding with ZModeler3 discussion.
Post Reply
Martinelli1_
Posts: 6
Joined: Wed May 03, 2023 11:58 am

GTA V: Bug when breaking a window

Post by Martinelli1_ »

When I break the glass it looks like this, can anyone help me?

https://ibb.co/7VL5mgR
User avatar
Oleg
Site Admin
Posts: 14098
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: GTA V: Bug when breaking a window

Post by Oleg »

your object need 2 uv channels. the second uv channel should have uniform layout (not stretched vertically/horizontally). In most of cases, you can copy it from UV#1. The game uses UV#2 to apply shattered-glass texture. Note, this have to be done both on L0 geometry and, more important, on L1 geometry.
Martinelli1_
Posts: 6
Joined: Wed May 03, 2023 11:58 am

Re: GTA V: Bug when breaking a window

Post by Martinelli1_ »

I copied UV#1 into UV#2 and it still has the same problem

https://ibb.co/8cV69Lh
User avatar
Oleg
Site Admin
Posts: 14098
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: GTA V: Bug when breaking a window

Post by Oleg »

remove .cwgv files from the export folder. If it still looks the same in game, then the issue is certainly related to UV#2. If something has changed, then the .cwgv file for window does not match.
Post Reply