Placeholder Sheen display.
This commit is contained in:
parent
7ee6b71a07
commit
de0ee36829
9 changed files with 18 additions and 3 deletions
5
gldefs.sheenhmg
Normal file
5
gldefs.sheenhmg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
HardwareShader Texture "models/SheenLED.png"
|
||||
{
|
||||
Shader "shaders/glsl/Subpixel.fp"
|
||||
Texture "pixtex" "textures/subpixel.png"
|
||||
}
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r192 \cu(Thu 21 Jul 13:25:02 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r192 \cu(2022-07-21 13:25:02)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r193 \cu(Thu 21 Jul 13:25:16 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r193 \cu(2022-07-21 13:25:16)\c-";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Model "HeavyMahSheenGun"
|
|||
|
||||
Model 0 "SheenHMGPickup_d.3d"
|
||||
SurfaceSkin 0 0 "SheenHMG.png"
|
||||
SurfaceSkin 0 1 "-noflat-"
|
||||
SurfaceSkin 0 1 "SheenLED.png"
|
||||
Scale 0.16 0.16 0.16
|
||||
AngleOffset 90
|
||||
ZOffset 20
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
BIN
models/SheenLED.png
Normal file
BIN
models/SheenLED.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
models/SheenLED.xcf
Normal file
BIN
models/SheenLED.xcf
Normal file
Binary file not shown.
10
shaders/glsl/Subpixel.fp
Normal file
10
shaders/glsl/Subpixel.fp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// RGB subpixel filter for Ammo LEDs
|
||||
|
||||
void SetupMaterial( inout Material mat )
|
||||
{
|
||||
mat.Base = getTexel(vTexCoord.st);
|
||||
vec2 uv = vTexCoord.st*vec2(textureSize(tex,0));
|
||||
mat.Base *= 1.5*texture(pixtex,uv);
|
||||
mat.Normal = ApplyNormalMap(vTexCoord.st);
|
||||
mat.Bright = vec4(1.);
|
||||
}
|
||||
BIN
textures/subpixel.png
Normal file
BIN
textures/subpixel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 221 B |
Loading…
Add table
Add a link
Reference in a new issue