Adverti horiz upsell

highlight variation 1.0

This surface shader is a variation on the...

Button download

Operating Systems

  • Irix


Last Modified:12/07/1999
File Size: 1.84 KB



This surface shader is a variation on the phong lighting model as specified in the 3.1 Specification documents. The new phong function my_phong( ), will accept 2 output parameters from a custom light.

__roughness and __specularhardness

These parameters are used to offset the roughness and specular gains in the FLphong surface shader.

Why this is kind of interesting is because it allows you to have varying size highlights that are controllable from a light, not the surface itself.

__roughness and __specularhardness are setup in your custom light similarly to Pixar's __nonspecular and __nondiffuse variables.

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.