Skip to content

Commit 2599e0d

Browse files
committed
OpenGL: soft water works now
1 parent cb49699 commit 2599e0d

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

res/gamedata/shaders/gl/water.ps

-40 Bytes
Binary file not shown.
-37 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
//#define NEED_SOFT_WATER // skyloader: temporarily disabled
1+
#define NEED_SOFT_WATER
22
#include "water.vs"

res/gamedata/shaders/gl/waterd.ps

-126 Bytes
Binary file not shown.

res/gamedata/shaders/gl/waterd.vs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ uniform float4x4 m_texgen;
77

88
v2p _main (v_vert v)
99
{
10-
v.N = unpack_D3DCOLOR(v.N);
11-
v.T = unpack_D3DCOLOR(v.T);
12-
v.B = unpack_D3DCOLOR(v.B);
13-
v.color = unpack_D3DCOLOR(v.color);
10+
//v.N = unpack_D3DCOLOR(v.N);
11+
//v.T = unpack_D3DCOLOR(v.T);
12+
//v.B = unpack_D3DCOLOR(v.B);
13+
//v.color = unpack_D3DCOLOR(v.color);
1414

1515
v2p o;
1616

-37 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
//#define NEED_SOFT_WATER // skyloader: temporarily disabled
1+
#define NEED_SOFT_WATER
22
#include "waterd.vs"

0 commit comments

Comments
 (0)