Sign in to follow this  
TimSarbin

Trying to delve into HLSL

Recommended Posts

Hey guys, I've been searching around on the internets for some resources on getting started with HLSL. I believe I understand how the World, View, and matrices work together, and can do a decent amount of [url="http://www.youtube.com/watch?v=JXLZ_9wwyn4"]rendering logic[/url], but now I need to start working on shaders. My game is based in space so shaders will be a big deal (the stars should be a single Vector3 point and the shader should be able to draw it properly, and I'd like the planets to be shaded, bumpped, shadowed, textured, etc all based off of a shader, and have atmospheric effects).

Obviously that's a lot of technical stuff, and right now I'm just trying to figure out the basics. I'm even having problems finding a manual that shows valid things to add to the shader input/output structures. A point in the right direction would be greatly appreciated. Thanks :)

Share this post


Link to post
Share on other sites
[url="http://msdn.microsoft.com/en-us/library/bb509561%28v=VS.85%29.aspx"]http://msdn.microsof...v=VS.85%29.aspx[/url]

[url="http://www.toymaker.info/Games/html/shaders.html"]http://www.toymaker....ml/shaders.html[/url]

[url="http://www.two-kings.de/tutorials/dxgraphics/dxgraphics18.html"]http://www.two-kings...graphics18.html[/url]

The first side is form the mdsn (you'll find everything concerning syntax, etc.. there), the others are tutorials I used myself to learn the basics of shaders. You might want to look for "Effect files" after you got that basics of shaders as they make things much easier.

Oh yeah and as you said you can't find a site for valid input/output-stuff:

[url="http://msdn.microsoft.com/en-us/library/bb509647%28v=vs.85%29.aspx"]http://msdn.microsoft.com/en-us/library/bb509647%28v=vs.85%29.aspx[/url]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this