Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] Barbell prop doesn't use phong.

Open Churkinator opened this issue 1 year ago • 3 comments

Description

.VMT file of the barbell was set up to use phong, but because of misspelled parameter it doesn't use it at all. This parameter is $basemapalphaphongmask. It was mistakenly wrote as $basealphaphongmask. By changing $basealphaphongmask to $basemapalphaphongmask fixes the issue.

However, since alpha-channel of the barbell is blank, the $basemapalphaphongmask can be replaced with $bumpmap, which can use shared_normal (16x16 flat normal map with blank alpha-channel). This way we will put less pressure on the hardware, I think...

Comparison: Image

How to fix

  1. Go to materials/models/props_gameplay/
  2. Open barbell01.vmt
  3. Change "$basealphaphongmask" "1" to "$basemapalphaphongmask" "1" OR Replace "$basealphaphongmask" "1" with "$bumpmap" "models/player/shared/shared_normal"

Churkinator avatar Jul 04 '25 15:07 Churkinator

Description:

.VMT file of the barbell was set up to use phong, but because of misspelled parameter it doesn't use it at all. This parameter is $basemapalphaphongmask. It was mistakenly wrote as $basealphaphongmask. By changing $basealphaphongmask to $basemapalphaphongmask fixes the issue.

However, since alpha-channel of the barbell is blank, the $basemapalphaphongmask can be replaced with $bumpmap, which can use shared_normal (16x16 flat normal map with blank alpha-channel). This way we will put less pressure on the hardware, I think...

Comparison: Image

How to fix:

  1. Go to materials/models/props_gameplay/
  2. Open barbell01.vmt
  3. Change "$basealphaphongmask" "1" to "$basemapalphaphongmask" "1" OR Replace "$basealphaphongmask" "1" with "$bumpmap" "models/player/shared/shared_normal"

The missing alpha-channel is included inside the psd, according to the leaked repository. So the tga just needs to be reexported with alpha from the psd.

Image

BreavyTF2 avatar Jul 08 '25 20:07 BreavyTF2

We'll fix this in one of the coming updates. Thanks.

EricS-Valve avatar Nov 07 '25 01:11 EricS-Valve

Fixed in latest update

JoriKos avatar Dec 10 '25 14:12 JoriKos