POV-Ray : Newsgroups : povray.programming : Implementing a shader : Implementing a shader Server Time
5 Jul 2024 14:18:58 EDT (-0400)
  Implementing a shader  
From: MM
Date: 16 Apr 2003 04:35:02
Message: <web.3e9d15a675c877fe5fe3f1440@news.povray.org>
I'm trying to implement a simple shader in POV-Ray by modifying the existing
source code.  The code is quite extensive, and knowing where to begin seems
a bit confusing.  Does anyone have any ideas on where I would specify a
method call to a shader to determine the colour of a particular ray
intersecting an object?  Does anyone know if a method has been created to
determine the incident angle of a ray on an object, and if so, under which
class is it?

Thanks,

MM


Post a reply to this message

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