Writing DirectX Shaders

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Display Modes
  02 February 2008
Question Writing DirectX Shaders

Hey, this is not a good place to ask this kind of question, but here it goes:

I am going to be building a new character, and instead of rendering it inside of Mental Ray, I want to see if I can write a DirectX shader that will emcompass the use of real time reflections as well, as diffuse, specular, normal mapping...and possibly skin shaders, and I want to know if the nVidia FX composer is good for this task.

Thanks in advance.

P.S.: I have no programming experience, but I want to learn a bit about it. Will be displayed inside of XSI
 
  02 February 2008
Try Mental Mill or Shader FX. Both have pretty good interfaces. Ther is alos a forum on the shaderfx site if you get stuck.

~M~
__________________
 
  02 February 2008
Hey Gary,

Thanks for your reply, I already have FX Composer2 installed, just haven't had time to toy with...will it be able to do the same thing...?
 
  02 February 2008
I don't have much advice to offer about shader programming, but I will tell you what I learned quickly about them. I also had no programming experience and thought that it might be pretty easy to learn this shader thing.

Direct X Shaders are written in a C-like syntax using a lot of Assembly instructions. You need to be able to understand vectors and matricies, so linear algebra is a must. I don't want to dissuade you from jumping in, just be prepared for a steep learning curve. Get a good programming book from the library and start reading. Then practice practice practice. Starting with C or Java might not be a bad idea, but a warning, I've found C programming forums to be particularly hostile and unhelpful.

I have a good game-shader book at home but I forget the title, I'll try to remember to post it for you so you can try to find a starting reference.

Good luck!

Last edited by kromano : 02 February 2008 at 09:18 PM.
 
  02 February 2008
I am looking at Shader FX and it looks sweet...but it is for 3dmax....I am going to check out the Mental Mill Artists Edition
 
  02 February 2008
Originally Posted by kromano: I don't have much advice to offer about shader programming, but I will tell you what I learned quickly about them. I also had no programming experience and thought that it might be pretty easy to learn this shader thing.

Direct X Shaders are written in a C-like syntax using a lot of Assembly instructions. You need to be able to understand vectors and matricies, so linear algebra is a must. I don't want to dissaude you from jumping in, just be prepared for a steep learning curve. Get a good programming book from the library and start reading. Then practice practice practice. Starting with C or Java might not be a bad idea, but a warning, I've found C programming forums to be particularly hostile and unhelpful.

I have a good game-shader book at home but I forget the title, I'll try to remember to post it for you so you can try to find a starting reference.

Good luck!


Hey, thanks dude...I am ready for a steep learning curve...i am doing this so that I can learn how to show my models in a real time setting and also have an all purpose shader to display real tme things like reflective swords or skin that actually looks really good...

I will set out to read books and tutorials...

thanks

P.S.: I will be writing my real time shader in FX Composer 2
 
  02 February 2008
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:34 PM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.