HLSL with DirectX for lighting

Started by
0 comments, last by Waaayoff 12 years, 6 months ago
I started messing with DirectX10 and terrain. While looking up some differences in DirectX9 and 10 i saw that the fixed-transform function are now not available for DirectX10-11 and the lighting pipeline is gone so shaders need to be used. Basically I have a terrain grid without textures or anything that i just want to light up. I'm not that great with shaders... have read some of the documentation on them that's with the SDK. I was wondering if someone could toss out some good resources for me to learn how to make the shader files needed and loading them with DirectX10.
Advertisement
First result on Google sounds like what you're looking for. It even has a sample project you can download :)
"Spending your life waiting for the messiah to come save the world is like waiting around for the straight piece to come in Tetris...even if it comes, by that time you've accumulated a mountain of shit so high that you're fucked no matter what you do. "

This topic is closed to new replies.

Advertisement