etqw-sdk/base/renderprogs/megatexture/glslambient.rprog

71 lines
1.2 KiB
Text
Raw Normal View History

2008-05-29 00:00:00 +00:00
renderProgram megaTexture/ambient_glsl {
lowrangeuv
state force {
depthFunc less
}
program vertex glsl { <%
$include "megatexture/ambient_glsl_vertex.inc"
%> }
program fragment glsl { <%
$include "megatexture/ambient_glsl_fragment.inc"
%> }
}
renderProgram megaTexture/ambient_premult_glsl {
lowrangeuv
state force {
depthFunc less
}
program vertex glsl { <%
$define premult
$include "megatexture/ambient_glsl_vertex.inc"
%> }
program fragment glsl { <%
$define premult
$include "megatexture/ambient_glsl_fragment.inc"
%> }
}
renderProgram megaTexture/ambient_bakedamb_glsl {
lowrangeuv
state force {
depthFunc less
}
program vertex glsl { <%
$define premult
$include "megatexture/ambient_glsl_vertex.inc"
%> }
program fragment glsl { <%
$define premult
$define bakedamb
$include "megatexture/ambient_glsl_fragment.inc"
%> }
}
renderProgram megaTexture/ambient_brightness_glsl {
lowrangeuv
state force {
depthFunc less
}
program vertex glsl { <%
$include "megatexture/ambient_glsl_vertex.inc"
%> }
program fragment glsl { <%
$define brightness
$include "megatexture/ambient_glsl_fragment.inc"
%> }
}