public interface Shader extends RenderObject
| Modifier and Type | Method and Description |
|---|---|
Color |
getRadiance(ShadingState state)
Gets the radiance for a specified rendering state.
|
void |
scatterPhoton(ShadingState state,
Color power)
Scatter a photon with the specied power.
|
updateColor getRadiance(ShadingState state)
state - current render statevoid scatterPhoton(ShadingState state, Color power)
state - current statepower - power of the incoming photon.Copyright © 2017. All rights reserved.