shader
Interface IShaderOp
- All Known Implementing Classes:
- AreaLightShaderOp, DirectLightingShaderOp, EmissionShaderOp, PathtracingShaderOp, ReflectionShaderOp, RefractionShaderOp
public interface IShaderOp
performOperation
void performOperation(IntersectionInfo intersection,
RayState rs,
RGBColor color,
ScatteredRayContainer raycon,
Scene scene)
- computes the color
- Parameters:
intersection
- [in] intersection infors
- [in] actual state of the raycolor
- [out] color of the intersectionraycon
- [in/out] the ray containerscene
- [in]
requireSPF
boolean requireSPF()
- does the shader op needs the SPF
- Returns:
- true if it needs spf