33 lines
853 B
Text
33 lines
853 B
Text
|
{
|
||
|
stateMap "stencil_test";
|
||
|
|
||
|
vertexShader 3.0 "water_dynamic_far_floatz.hlsl"
|
||
|
{
|
||
|
waterParams = material.waterParams;
|
||
|
oceanFoamValues = material.oceanFoamValues;
|
||
|
oceanShoreValues = material.oceanShoreValues;
|
||
|
}
|
||
|
|
||
|
pixelShader 3.0 "water_dynamic_far_floatz.hlsl"
|
||
|
{
|
||
|
|
||
|
waterColor = material.waterColor;
|
||
|
waterParams = material.waterParams;
|
||
|
waterScroll0 = material.waterScroll0;
|
||
|
waterScroll1 = material.waterScroll1;
|
||
|
waterScroll2 = material.waterScroll2;
|
||
|
waterSkyColor = material.waterSkyColor;
|
||
|
waterGroundColor = material.waterGroundColor;
|
||
|
waterSunValues = material.waterSunValues;
|
||
|
|
||
|
oceanFoamValues = material.oceanFoamValues;
|
||
|
oceanShoreValues = material.oceanShoreValues;
|
||
|
oceanBumpValues = material.oceanBumpValues;
|
||
|
|
||
|
envMapParms = material.envMapParms;
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
|
||
|
}
|