How do I create shader files?

Started by
1 comment, last by Muzzy A 11 years ago

I'm getting started with Vertex Shader and Pixel Shader.

How do I create shader files?

Should I write shader files myself or should I use a software for generating shader files?

Advertisement

They are mostly done in Notepad - DirectX reads them as text files, and it's easy enough to put them together without any special additional programs. You can use things like RenderMonkey to test them out and debug on the fly.

'FX Composer' is useful for helping with making sure your shader code compiles and gives you a preview of what your shader will do.

This topic is closed to new replies.

Advertisement