Original Post
Hi, Can someone please provide a simple example/link to a HLSL that replicates these fixed function pipeline settings. Basically, I want to render a textured triangle and enable vertex alpha blending along with lighting. Pushing this into a shader I suspect I need three elements, Light source, vertex diffuse and texture coordinates? The examples I've seen so far don't cover all three and I'm getting a little lost. Any pointers would be gratefully appreciated. BTW, Shader version is 2. Many thanks,