Surface constructor

Surface(
  1. Vector3 albedo,
  2. double alpha,
  3. Vector3 normal,
  4. Vector3 scenePosition,
  5. Vector3 ambient,
  6. double metallic,
  7. double roughness,
  8. Vector3 view,
  9. double nDotV,
  10. Vector4 tangent,
)

A surface with every field given; occlusion starts at one and emissive at black.

Implementation

Surface(
  this.albedo,
  this.alpha,
  this.normal,
  this.scenePosition,
  this.ambient,
  this.metallic,
  this.roughness,
  this.view,
  this.nDotV,
  this.tangent,
);