Skip to content

Commit

Permalink
OpenGL: soft water works now
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyLoaderr committed Oct 30, 2018
1 parent cb49699 commit 2599e0d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
Binary file modified res/gamedata/shaders/gl/water.ps
Binary file not shown.
Binary file modified res/gamedata/shaders/gl/water_soft.ps
Binary file not shown.
2 changes: 1 addition & 1 deletion res/gamedata/shaders/gl/water_soft.vs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//#define NEED_SOFT_WATER // skyloader: temporarily disabled
#define NEED_SOFT_WATER
#include "water.vs"
Binary file modified res/gamedata/shaders/gl/waterd.ps
Binary file not shown.
8 changes: 4 additions & 4 deletions res/gamedata/shaders/gl/waterd.vs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ uniform float4x4 m_texgen;

v2p _main (v_vert v)
{
v.N = unpack_D3DCOLOR(v.N);
v.T = unpack_D3DCOLOR(v.T);
v.B = unpack_D3DCOLOR(v.B);
v.color = unpack_D3DCOLOR(v.color);
//v.N = unpack_D3DCOLOR(v.N);
//v.T = unpack_D3DCOLOR(v.T);
//v.B = unpack_D3DCOLOR(v.B);
//v.color = unpack_D3DCOLOR(v.color);

v2p o;

Expand Down
Binary file modified res/gamedata/shaders/gl/waterd_soft.ps
Binary file not shown.
2 changes: 1 addition & 1 deletion res/gamedata/shaders/gl/waterd_soft.vs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//#define NEED_SOFT_WATER // skyloader: temporarily disabled
#define NEED_SOFT_WATER
#include "waterd.vs"

0 comments on commit 2599e0d

Please sign in to comment.