PhongMaterial_v6 Op
A shaded material for lighting objects
Summary (oneliner)
This is probably the most classic material of them all.
It works stand-alone or in conjunction with the light ops.
The op features 2 different diffuse color models, standard Lambert & Oren-Nayar. Furthermore, there is a dropdown menu for 4 different specular models: Blinn-Phong, Schlick, Phong, Gauss.
It also has Fresnel capabilities & emissive color & physical energy conservation of light (if desired).
- Ops.Gl.Phong.PhongMaterial_v6
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
Trigger in
Diffuse Color
Diffuse Red Value
Diffuse Green Value
Diffuse Blue Value
Opacity
Oren-Nayar Diffuse
Albedo of the diffuse color
Roughness of the diffuse color
Fresnel
Amount of Fresnel effect
Width of Fresnel effect
Exponent (Fade) of Fresnel effect
Fresnel Red Value
Fresnel Green Value
Fresnel Blue Value
Emissive Color
toggle to render emissive color
intensity of emissive color
Emissive Red Value
Emissive Green Value
Emissive Blue Value
Specular
Size of the specular reflection, the greater the value the smaller the reflection
Amount of the specular reflection
Textures
Diffuse texture input
Specular texture input
Normal Map input
Ambient Occlusion texture input
Emissive texture input
emissive map mask texture input
Opacity texture input
environment map texture input
environment map mask texture input
Texture Transforms
How often a texture is repeated on the X axis (applied to all textures)
How often a texture is repeated on the Y axis (applied to all textures)
texture pixel offset on the C axis (applied to all textures)
texture pixel offset on the Y axis (applied to all textures)
Texture Intensities
intensity of the specular texture
intensity of the normal map
intensity of the Ambient Occlusion texture
Texture Intensities
intensity of the emissive map
intensity of the emissive mask
intensity of the environment map
intensity of the environment map mask
Opacity Texture
which channel of the alpha texture to use for multiplying
OUTPUT PORTS
Trigger out
Shader out
Patches using PhongMaterial_v6
Changelog
Ops.User.cables.PhongMatNew renamed to Ops.Admin.PhongMaterial_v5 | cables - 2020-05-14 15:58 | |
Ops.Admin.PhongMaterial_v5 renamed to Ops.Gl.Phong.PhongMaterial_v5 | pandur - 2020-07-29 22:45 | |
cloned op from Ops.Gl.Phong.PhongMaterial_v5 | cables - 2021-04-14 12:14 | |
Ops.User.cables.PhangMeteriel renamed to Ops.Gl.Phong.PhongMaterial_v6 | cables - 2021-04-14 15:58 | |
added core lib: ammoworld | pandur - 2023-10-30 15:02 | |
removed core lib: ammoworld | pandur - 2023-10-30 15:02 |