Compare commits
No commits in common. "master" and "master" have entirely different histories.
@ -1,17 +0,0 @@
|
||||
@echo off
|
||||
REM ============================
|
||||
REM Build .hak files from folders
|
||||
REM ============================
|
||||
|
||||
REM Path to nwhak.exe (adjust if needed)
|
||||
REM set NWHak="nwhak.exe"
|
||||
|
||||
REM Loop through all subfolders in current directory
|
||||
for /d %%F in (*) do (
|
||||
echo Building %%F_v30.hak from folder %%F ...
|
||||
nwhak.exe "%%F_v30.hak" "%%F"
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Done! All .hak files have been created.
|
||||
pause
|
||||
BIN
hak/nwhak.exe
@ -1,6 +0,0 @@
|
||||
[Application]
|
||||
State=0
|
||||
Top=1
|
||||
Left=1
|
||||
Height=450
|
||||
Width=330
|
||||
@ -1,17 +0,0 @@
|
||||
// Shaders
|
||||
customshaderVS vslit_sm_nm
|
||||
customshaderFS fs_plt_hair
|
||||
|
||||
renderhint NormalTangents
|
||||
|
||||
// Textures
|
||||
texture0 d_fox001
|
||||
texture1 d_fox001_n
|
||||
texture2 d_fox001_s
|
||||
texture3 null
|
||||
texture4 null
|
||||
texture5 null
|
||||
|
||||
|
||||
transparency 1
|
||||
twosided 1
|
||||
@ -1,2 +0,0 @@
|
||||
blending punchthrough
|
||||
alphamean 0.9
|
||||
@ -1,16 +0,0 @@
|
||||
// Shaders
|
||||
customshaderVS vslit_sm_nm
|
||||
customshaderFS fs_plt_hair
|
||||
|
||||
renderhint NormalTangents
|
||||
|
||||
// Textures
|
||||
texture0 d_fox002
|
||||
texture1 d_fox001_n
|
||||
texture2 d_fox001_s
|
||||
texture3 null
|
||||
texture4 null
|
||||
texture5 null
|
||||
|
||||
transparency 1
|
||||
twosided 1
|
||||
@ -1,2 +0,0 @@
|
||||
blending punchthrough
|
||||
alphamean 0.9
|
||||
@ -1,16 +0,0 @@
|
||||
// Shaders
|
||||
customshaderVS vslit_sm_nm
|
||||
customshaderFS fs_plt_hair
|
||||
|
||||
renderhint NormalTangents
|
||||
|
||||
// Textures
|
||||
texture0 d_fox003
|
||||
texture1 d_fox001_n
|
||||
texture2 d_fox001_s
|
||||
texture3 null
|
||||
texture4 null
|
||||
texture5 null
|
||||
|
||||
transparency 1
|
||||
twosided 1
|
||||
@ -1,2 +0,0 @@
|
||||
blending punchthrough
|
||||
alphamean 0.9
|
||||
@ -1,42 +0,0 @@
|
||||
/*=============================================================================
|
||||
fs_plt_hair.shd
|
||||
=============================================================================*/
|
||||
|
||||
#define SHADER_TYPE 2
|
||||
|
||||
#define LIGHTING 1
|
||||
#define FOG 1
|
||||
#define KEYHOLING 1
|
||||
|
||||
#define NORMAL_MAP 1
|
||||
#define SPECULAR_MAP 1
|
||||
#define ROUGHNESS_MAP 1
|
||||
#define HEIGHT_MAP 0
|
||||
#define SELF_ILLUMINATION_MAP 1
|
||||
#define ENVIRONMENT_MAP 1
|
||||
|
||||
#include "inc_standard"
|
||||
|
||||
uniform float fAlpha;
|
||||
void main ()
|
||||
{
|
||||
FragmentColor = vec4(1.0);
|
||||
SetupStandardShaderInputs();
|
||||
float fAlphaFromTexture = texture2D(texUnit1, vTexCoords.xy).a;
|
||||
if (fAlpha == 0.0){
|
||||
if (fAlphaFromTexture < 0.2)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
ApplyStandardShader();
|
||||
gl_FragColor = vec4(FragmentColor.rgb, fAlphaFromTexture);
|
||||
}
|
||||
else{
|
||||
if (fAlphaFromTexture < fAlpha)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
ApplyStandardShader();
|
||||
gl_FragColor = vec4(FragmentColor.rgb, fAlphaFromTexture);
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 165 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 818 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 438 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 255 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 768 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 900 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 900 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 384 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 625 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 732 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 116 KiB |