object GlossyShader
PRT shader for the glossy rendering technique based on rotationally-symmetric BRDFs.
C.f. GlossyTechnique and GlossySimulator.
- Alphabetic
- By Inheritance
- GlossyShader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class GlobalLightShader (transfer: GreyOrRGB[Transfer], light: GreyOrRGB[DenseVector[Double]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]) extends GlossyTemplate with Product with Serializable
- sealed abstract class GlossyTemplate extends PixelShader[RGBA]
- case class LocalLightShader (transfer: GreyOrRGB[Transfer with TransferSingleBounce], localLight: GreyOrRGB[SurfacePointProperty[DenseVector[Double]]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]) extends GlossyTemplate with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(transfer: GreyOrRGB[Transfer with TransferSingleBounce], localLight: GreyOrRGB[SurfacePointProperty[DenseVector[Double]]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]): LocalLightShader
Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under scene illumination that can spatially vary (e.g.
Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under scene illumination that can spatially vary (e.g. due to point light sources in close proximity).
- transfer
Precomputed transfer.
- localLight
A SurfacePointProperty representing SH expansions of incoming light for each vertex of the rendered mesh.
- brdf
The convolution kernel of a rotationally-symmetric BRDF (c.f. ZH.asConvolution()).
- normals
A MeshSurfaceProperty representing the normals of the rendered mesh.
- objectSpaceViewDirections
A SurfacePointProperty representing the directions of view to the vertices of the rendered mesh.
- returns
An instance of PixelShader[RGBA].
-
def
apply(transfer: GreyOrRGB[Transfer], light: GreyOrRGB[DenseVector[Double]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]): GlobalLightShader
Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under globally uniform illumination.
Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under globally uniform illumination.
- transfer
Precomputed transfer.
- light
SH expansion of light from an environment map.
- brdf
The convolution kernel of a rotationally-symmetric BRDF (c.f. ZH.asConvolution()).
- normals
A MeshSurfaceProperty representing the normals of the rendered mesh.
- objectSpaceViewDirections
A SurfacePointProperty representing the directions of view to the vertices of the rendered mesh.
- returns
An instance of PixelShader[RGBA].
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )