Wrist tags in first person also update now.

This commit is contained in:
Mari the Deer 2022-07-26 21:11:06 +02:00
commit 12515e9107
25 changed files with 442 additions and 577 deletions

View file

@ -0,0 +1,7 @@
void SetupMaterial( inout Material mat )
{
mat.Base = texture(scrtex,vec2(vTexCoord.s,1.-vTexCoord.t)); // canvas textures are upside-down when used by models
mat.Normal = ApplyNormalMap(vTexCoord.st);
if ( (uTextureMode&TEXF_Brightmap) != 0 )
mat.Bright = texture(brighttexture,vTexCoord.st);
}