Away3D.com
   
 
Quality dvd movies, buy movies online and movie downloads.
rulururu

post Away3D Directional smooth shading

October 2nd, 2007

Filed under: Demos, Materials — Fabrice Closier @ 4:10 am

softshading3

I just couldn’t accept having phong shading only facing you, this would simply be useless in most cases and you would probably choose to have textures with ‘pre-baked’ shading in order to get light coming from another direction just to better translate the scenery you want to build.

The model displayed in this demo has around 650 faces, all being runtime shaded by the code.
The code generates random color, camera position and light position. So some camera angles might look pretty weird but I think it adds some pretty cool drama on screen!

Keep in mind that sometimes the light will quickly turn when it is very near the target center of the model…it’s because the light is being calculated at object level, just to save thousands of calculations per sec.

Fabrice

2 Comments »

  1. sooo cooooool.

    Comment by Edidu CHINA — October 15, 2007 @ 3:20 am

  2. Reflective Hummingbird demo…

    Trackback by Aviary: Bird Feed — October 19, 2007 @ 12:35 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

ruldrurd
   
 
Hair drug test and herbal detox products. Visit drug detox website for more details on cannabis and marijuana drug detox.
FireStats iconPowered by FireStats
Powered by WordPress, Web Design by Laurentiu Piron
Entries (RSS) and Comments (RSS)