POV-Ray : Newsgroups : povray.binaries.images : Nice glass material : Nice glass material Server Time
5 Nov 2024 18:27:39 EST (-0500)
  Nice glass material  
From: Tek
Date: 2 Jul 2005 15:59:20
Message: <42c6f218@news.povray.org>
Just playing with some ideas for the minimalism IRTC round, and came up 
with this rather nice looking glass material.

The source for the material is:

#declare PearlescentGlass =
  material {
   texture {
    pigment { rgb 0 transmit 1 }
    finish {
     reflection { .01, .95 fresnel } conserve_energy
     //big fat phong highlight, to give ethereal sheen to the material.
     //make phong fade with angle, using pov's metallic effect on black
     //(because there's no fresnel for phong)
     phong 30 phong_size 20 metallic 1
     specular 50 roughness .0004   //layer a sharp highlight on top.
    }
   }
   interior {
    ior 1.5
    fade_colour <1,.25,.0>
    fade_distance .5
    fade_power 2
   }
  }

Enjoy!

Tek


Post a reply to this message


Attachments:
Download 'photons.jpg' (78 KB)

Preview of image 'photons.jpg'
photons.jpg


 

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