Wrist tags in first person also update now.
This commit is contained in:
parent
bcb85d873d
commit
12515e9107
25 changed files with 442 additions and 577 deletions
7
shaders/glsl/DemoTags1st.fp
Normal file
7
shaders/glsl/DemoTags1st.fp
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue