string description = "diffuse plus spec plus light map, lighting, and fog";

#define LIGHTING 1
#define NUM_TEXTURES 1

#include "shaderAttrs.fxh"
#include "SpecularAttrs.fxh"
#include "oneTexLightMapSpec.hlsl"

technique {

	pass oneTexPass {
		
		VertexShader = compile vs_2_0 VSMain(
			modelViewProjection,  
			fogColor,
			fogParams,
		    modelWorld,
			sunDirectionWorld,
		    sunColor,
			sunAmbient
		);
		
		PixelShader = compile ps_2_0 PSMain(
			samplerBaseTex,
			samplerSpecMapTex,
			samplerLightMap,
			fSpecPower,
			fSpecMult
		);
	}
}

