Whisperings:Solo Piano Radio
  POV-Ray : Newsgroups : povray.pov4.discussion.general : Feature proposition: syntax for custom reflections : Re: Feature proposition: syntax for custom reflections Server Time: 8 Jan 2009 00:26:26 GMT
  Re: Feature proposition: syntax for custom reflections  
From: Warp
Date: 25 Feb 2008 20:50:16
Hymyly <christoffer1989 [at] hotmailcom> wrote:
> Aren't shaders used mainly for pseudo-realistic effects (such as creating
> shadows by superimposing a transparent texture generated from a stencil buffer)
> rather than proper raytracing? How do you envision a shader being merged with a
> full-fledged raytracer such as povray?

  What's the relation between "what shaders are usually used for" and
"what can be done with shaders"?

  Besides shaders are not mainly used for what you describe. They are mainly
used for texturing.

  I don't see the slightest problem in incorporating shaders to a raytracer.

> To me it seems that what could be introduced into povray is a system for
> altering the lighting model on a local level, which I agree could be done by
> creating a brand-new programming language.

  It's called "shader". Even the name implies it (shading algorithm -> shader).

-- 
                                                          - Warp


Post a reply to this message

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