Author : ysalex


Reply
Reply
 
Thread Tools Display Modes
gustavovalsan's Avatar
Old (#1)
Hello

I'm trying to make a simple shader for Maya using CGFX as a learning experience. Right now I'm trying to implement a basic Lambert shader using point lights but I can't find information on using point lights for shading. Everything I find is about using directional light which are not always ideal. So I was wondering if anyone can point me in the right direction. Also any help with spot lights also will be nice.

Thanks in advance.
Offline , null, 1 Posts, Join Date Sep 2011,  
   Reply With Quote

Eric Chadwick's Avatar
Old (#2)
Here's a sample from Nvidia that includes both types. Might help.
http://developer.download.nvidia.com...s.html#balloon
Offline , Polycount.com Editor, 6,763 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch