openmw/files/materials/watersim_addimpulse.shader

13 lines
259 B
Text
Raw Normal View History

2013-10-17 16:37:22 +02:00
#include "core.h"
#include "watersim_common.h"
SH_BEGIN_PROGRAM
shInput(float2, UV)
shSampler2D(alphaMap)
SH_START_PROGRAM
{
shOutputColour(0) = EncodeHeightmap(1.0);
shOutputColour(0).a = shSample (alphaMap, UV.xy).a;
}