EasyGen/misc/templates/q3map2_noblend.shader
2014-01-14 00:49:01 +02:00

20 lines
No EOL
505 B
GLSL

; this template is for building a shader that will work with
; q3map2.exe, an advanced compiler version programmed by ydnar
; based upon original q3map.exe source code
; http://shaderlab.com/q3map2/
;
textures/%METASHADER_NAME%_%I%
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize %TEXTURE_0_SIZEX% %TEXTURE_0_SIZEY%
q3map_tcGen ivector ( %TEXTURE_0_SGEN% ) ( %TEXTURE_0_TGEN% )
{
map %TEXTURE_I_MAP%
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}