I present you my first and last attempt to write some D3D assembly shaders. I can admit that it was fun! But OK… let’s don’t overdo it! HLSL works better for me! 😛 The shaders included are:
- Diffuse lighting
- Diffuse lighting with multiple lights
- Vertex morphing
- Two tone painting
- Phong lighting (ambient+diffuse+specular)
- Cartoon rendering
- Sphere mapping