#Custom texture with phong

1 messages · Page 1 of 1 (latest)

hybrid roost
#

Phong on brushes should work in Gmod, but I see no effect in game. Any idea what's wrong with the custom texture file?
||"LightmappedGeneric"
{
"$basetexture" "props/rubberfloor009a"
"$surfaceprop" "Rock"
"$bumpmap" "custom/rubber_greyscale_normal_brighter"

"$phong" "1"
"$phongexponent" "80"
"$phongmaskcontrastbrightness" "[2 .7]"
"$phongamount" "[4 1 1 1]"
"$phongtint" "[4.0 1.0 1.0]"

}||
The bump map does have a greyscale alpha channel (check the picture)

hybrid roost
#

I think I get it to work, but for some reason changing values doesn't seem to work aside from brightness value for $phongamount

#

So there's still something wrong with my phong

#

Exponent doesn't do anything for me and in phongamount only the fourth value does anything

hybrid roost
#

I just needed to have env_sun 🥲

rustic cedar
#

it doesn't come from any other source

hybrid roost
rustic cedar
#

You don't

#

env_sun is only a sprite, it doesn't really do anything

rustic cedar
#

lmfao

#

fucking Gmod devs

#

that is the dumbest thing I've ever read, why would they do that

#

gotta be different ofc ofc

languid basin
#

and… what if you have multiple env_suns 🤦
Going to use the bug label for that on the VDC page.

languid basin
#

is this passive aggressive enough?

cedar hamlet
#

this explains why i couldnt get it to render in gmod h++

#

its not using the csgo way...

#

time for a bit of reverse engineering

cedar hamlet
#

now h++ displays it

past sierra
#

I'd imagine it is for if you want to have a day/night cycle