phongMat
deprecated
material
phongMat
RayTK
v0.42
Material that uses phong shading.
Deprecated in favor of using Phong mode in specularContrib in a modularMat.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Ambient Color | Base color applied to the surface regardless of lights. | Runtime | Baked |
Diffuse Color | Color reflected by matte surfaces. | Runtime | Baked |
Specular Color | Color reflected by glossy surfaces. | Runtime | Baked |
Shine | Specular exponent, which adjusts the light curve of specular highlights. | Runtime | Baked |
Enable Shadow | Whether to use shadows. When enabled, if the Shadow Definition input is provided, that will be used. Otherwise a default shadow function will be used. | Baked | Baked |
Inputs
-
SDF
: (required)- Coordinate Types:
vec3
- Context Types:
Context
- Return Types:
Sdf
- Coordinate Types: