How to replace SetFVF with vertex shader?

Started by
11 comments, last by Alex F 16 years, 1 month ago
What problem are you having? It looks like a simple shader that should work as is in ps_2_0.
Advertisement
If you want the assembly, just generate it with fxc.

[Edited by - MJP on April 9, 2008 11:18:22 AM]
Thank you very much for your help. The problem is solved by reducing pixel shader version to ps_2_0, as suggested by ET3D. Existing shader code is translated to Assembly using fxc tool.

This topic is closed to new replies.

Advertisement