Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SSRShader

Ssrshader

See the ngx3js docs page for details. See the webgl / postprocessing / ssr | page for a live demo.

Hierarchy

  • SSRShader

Index

Properties

defines

defines: { MAX_STEP: number; isDistanceAttenuation: boolean; isFresnel: boolean; isInfiniteThick: boolean; isPerspectiveCamera: boolean; isSelective: boolean }

Type declaration

  • MAX_STEP: number
  • isDistanceAttenuation: boolean
  • isFresnel: boolean
  • isInfiniteThick: boolean
  • isPerspectiveCamera: boolean
  • isSelective: boolean

fragmentShader

fragmentShader: string

uniforms

uniforms: { cameraFar: IUniform<number>; cameraInverseProjectionMatrix: IUniform<I3JS.Matrix4>; cameraNear: IUniform<number>; cameraProjectionMatrix: IUniform<I3JS.Matrix4>; cameraRange: IUniform<number>; maxDistance: IUniform<number>; opacity: IUniform<number>; resolution: IUniform<I3JS.Vector2>; tDepth: IUniform<I3JS.Texture>; tDiffuse: IUniform<I3JS.Texture>; tMetalness: IUniform<I3JS.Texture>; tNormal: IUniform<I3JS.Texture>; thickness: IUniform<number> }

Type declaration

vertexShader

vertexShader: string

Generated using TypeDoc