Can anyone help explain how to use q3map_alphamod dotproduct to do terrain? Here's what I'm using, but all the brushes that I paint with the blend shader also show up with the yavin/dugdirt only.
Code:
textures/speed/green { qer_editorimage textures/speed/1 q3map_lightImage textures/yavin/ground q3map_nonplanar q3map_shadeAngle 179 q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 ) q3map_tcMod rotate 33 q3map_lightmapAxis z surfaceparm nonsolid surfaceparm pointlight { map textures/yavin/ground rgbGen vertex } } textures/speed/soil { qer_editorimage textures/speed/2 q3map_lightImage textures/yavin/dugdirt q3map_nonplanar q3map_shadeAngle 179 q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 ) q3map_tcMod rotate 33 q3map_lightmapAxis z surfaceparm nonsolid surfaceparm pointlight { map textures/yavin/dugdirt rgbGen vertex } } //SHADER FOR BLENDING BETWEEN GREEN AND SOIL textures/speed/greentosoil { qer_editorimage textures/speed/3 q3map_lightImage textures/yavin/ground q3map_nonplanar q3map_shadeAngle 179 q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 ) q3map_tcMod rotate 33 q3map_lightmapAxis z q3map_alphaMod dotproduct2 ( 0 0 0.95 ) surfaceparm nonsolid surfaceparm pointlight { map textures/yavin/ground rgbGen vertex } { map textures/yavin/dugdirt blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen vertex } }