cz.cuni.jagrlib.iface
Interface Fresnel
- All Known Implementing Classes:
- FresnelConductor, FresnelDielectric
public interface Fresnel
Abstract interface represents Fresnel term for some type of materials.
- Since:
- 0.26
- See Also:
- Fresnel.java
Method Summary |
double[] |
evaluate(double cosI,
double[] refl)
Evaluate given Fresnel equation. |
evaluate
double[] evaluate(double cosI,
double[] refl)
- Evaluate given Fresnel equation.
- Parameters:
cosI
- Dot product of incoming direction and normal of the surface.refl
- Pre-allocated field for reflectance (non-mandatory).
- Returns:
- Reflectance at surface for a given direction.