blob: 519efb24b5406f72f0de3434e24410b281ea0413 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
R"glsl(
//------------------------------------------------------------------------------------
// Global variables
//------------------------------------------------------------------------------------
uniform vec4 g_DissipationFactors;
uniform vec4 g_SourceComponents;
uniform vec4 g_UVOffsets;
uniform sampler2D g_samplerDisplacementMap;
varying float2 vInterpTexCoord;
attribute float4 vInPos;
attribute float2 vInTexCoord;
void main()
{
// No need to do matrix transform.
gl_Position = vInPos;
// Pass through general texture coordinate.
vInterpTexCoord = vInTexCoord;
}
)glsl";
|