POV-Ray : Newsgroups : povray.off-topic : scanline predator : Re: scanline predator Server Time
3 Sep 2024 17:20:22 EDT (-0400)
  Re: scanline predator  
From: nemesis
Date: 14 Oct 2010 15:53:16
Message: <4cb75fac@news.povray.org>
scott escreveu:
> Another interesting idea is deferred shading.  With this as you go 
> through the geometry of your scene you don't calculate final lit colour 
> values, but values to describe the 3D surface at each screen pixel 
> (texture colour, normal, shinyness etc).  This is relatively fast as no 
> lighting calculations are done.  Then once you've drawn all the geometry 
> you end up with a simple 2D array of what is visible.  With this you can 
> then run a pixel shader over it to calculate the final colour values.  
> The advantage is you don't have to put your lighting code in the shaders 
> for each model, the lighting calculations only get done for pixels that 
> are visible in the final image, and it is very cheap to add more lights 
> to the scene.  Example here: http://www.youtube.com/watch?v=hBtfryQBAlk

it's pretty much lazy evaluation for rendering. :)

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.