shaderx笔记

纹理+颜色 

float4 outputColor = g_txDiffuse.Sample( samLinear, input.Tex ) * fLighting+ fLighting*float4(1.0f, 0.0f, 1.0f, 1.0f);
    return outputColor;

你可能感兴趣的:(shaderx笔记)