Repository
Docs
Examples
Preparing search index...
The search index is not available
gpu-curtains
gpu-curtains
core/shaders/full/compute/compute-diffuse-from-specular-cubemap
Module core/shaders/full/compute/compute-diffuse-from-specular-cubemap
Functions
computeDiffuseFromSpecularCubemap
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Functions
compute
Diffuse
From
Specular
Cubemap
Repository
Docs
Examples
gpu-curtains
Getting started
3D engine usage
DOM syncing usage
Core concepts
The renderers, scene rendering and camera
Bindings and bind groups
core
DOM
DOMElement
RectCoords
RectSize
RectBBox
DOMPosition
DOMElementBoundingRect
DOMElementParams
DOMElement
DOMFrustum
DOMFrustumParams
DOMFrustum
bindGroups
BindGroup
BindGroup
TextureBindGroup
TextureBindGroupParams
TextureBindGroup
bindings
Binding
BufferBindingType
TextureBindingType
DOMTextureBindingType
SamplerBindingType
BindingType
BufferBindingMemoryAccessType
BindingMemoryAccessType
TextureSamplerBindings
BindingParams
Binding
BufferBinding
BufferBindingInput
BufferBindingBaseParams
BufferBindingChildrenBinding
BufferBindingParams
AllowedBufferElement
DataViewSetFunction
BufferBinding
SamplerBinding
SamplerBindingResource
SamplerBindingParams
SamplerBinding
TextureBinding
TextureBindingResource
TextureBindingParams
TextureBinding
WritableBufferBinding
WritableBufferBindingParams
WritableBufferBinding
bufferElements
BufferArrayElement
BufferArrayElementParams
BufferArrayElement
BufferElement
slotsPerRow
bytesPerSlot
bytesPerRow
BufferElementAlignmentPosition
BufferElementAlignment
BufferElementParams
BufferElement
BufferInterleavedArrayElement
BufferInterleavedArrayElement
utils
getBindingVisibility
TypedArray
TypedArrayConstructor
WGSLBaseVariableType
WGSLVariableType
BufferLayout
getBufferLayout
getBindingWGSLVarType
getTextureBindingWGSLVarType
getBindGroupLayoutBindingType
getBindGroupLayoutTextureBindingType
getBindGroupLayoutTextureBindingCacheKey
buffers
Buffer
BufferParams
Buffer
utils
BufferUsageKeys
getBufferUsages
cameras
Camera
CameraBaseOptions
CameraOptions
CameraParams
CameraObject3DMatricesType
CameraObject3DMatrices
Camera
OrthographicCamera
OrthographicCameraBaseOptions
OrthographicCameraOptions
OrthographicCameraParams
OrthographicCamera
PerspectiveCamera
PerspectiveCameraBaseOptions
PerspectiveCameraOptions
PerspectiveCameraParams
PerspectiveCamera
computePasses/ComputePass
ComputePassOptions
ComputePassParams
ComputePass
geometries
Geometry
Geometry
IndexedGeometry
IndexedGeometryIndexBufferOptions
IndexBuffer
IndexedGeometry
PlaneGeometry
PlaneGeometryParams
PlaneGeometry
lights
AmbientLight
AmbientLight
DirectionalLight
DirectionalLightBaseParams
DirectionalLight
Light
LightsType
ShadowCastingLights
LightBaseParams
LightParams
Light
PointLight
PointLightBaseParams
PointLight
SpotLight
SpotLightBaseParams
SpotLight
materials
ComputeMaterial
ComputeMaterial
Material
Material
RenderMaterial
RenderMaterial
utils
compareRenderingOptions
meshes
FullscreenPlane
FullscreenPlane
Mesh
Mesh
mixins
MeshBaseMixin
MeshBaseRenderParams
MeshBaseParams
MeshBaseOptions
MeshBaseClass
MeshBaseMixin
ProjectedMeshBaseMixin
FrustumCullingCheck
ProjectedMeshBaseParams
ProjectedMeshParameters
ProjectedRenderMaterialParams
ProjectedMeshBaseOptions
ProjectedMeshBaseClass
ProjectedMeshBaseMixin
objects3D
Object3D
Object3DMatricesType
Object3DTransformMatrix
Object3DMatrices
Object3DTransforms
Object3D
ProjectedObject3D
Object3DNormalMatrix
ProjectedObject3DMatricesType
ProjectedObject3DNormalMatrix
ProjectedObject3DMatrices
ProjectedObject3D
pipelines
ComputePipelineEntry
ComputePipelineEntry
PipelineEntry
PipelineEntry
PipelineManager
AllowedPipelineEntries
GPURenderPassTypes
GPUPassTypes
PipelineManager
RenderPipelineEntry
RenderPipelineEntry
renderPasses
RenderBundle
RenderBundleOptions
RenderBundleParams
RenderBundle
RenderPass
ColorAttachmentParams
RenderPassViewport
RenderPassParams
RenderPass
RenderTarget
RenderTargetParams
RenderTarget
ShaderPass
ShaderPassBaseParams
ShaderPassParams
ShaderPassOptions
ShaderPass
renderers
GPUCameraRenderer
LightParams
LightsBindingParams
GPUCameraRendererBindings
GPUCameraRendererLightParams
GPUCameraLightsRendererParams
GPUCameraRendererParams
GPUCameraRendererOptions
GPUCameraRenderer
GPUDeviceManager
GPUDeviceManagerBaseParams
GPUDeviceManagerParams
GPUDeviceManagerSetupParams
GPUDeviceManager
GPURenderer
GPURendererContextOptions
GPURendererContextParams
GPURendererParams
GPURendererOptions
DOMProjectedMesh
ProjectedMesh
SceneStackedMesh
SceneStackedObject
FullscreenPass
RenderedMesh
SceneObject
GPURenderer
utils
Renderer
CameraRenderer
isRenderer
isCameraRenderer
isCurtainsRenderer
isProjectedMesh
samplers/Sampler
SamplerOptions
SamplerParams
Sampler
scenes/Scene
ProjectionStack
ProjectionType
Stack
RenderPassEntry
RenderPassEntriesType
RenderPassEntries
Scene
shaders
chunks
fragment
body
apply-directional-shadows
applyDirectionalShadows
apply-point-shadows
applyPointShadows
apply-spot-shadows
applySpotShadows
apply-tone-mapping
applyToneMapping
declare-attributes-vars
declareAttributesVars
declare-material-vars
DeclareMaterialVarsParams
declareMaterialVars
get-IBL-GGX-Fresnel
getIBLGGXFresnel
get-IBL-indirect-irradiance
getIBLIndirectIrradiance
get-IBL-indirect-radiance
getIBLIndirectRadiance
get-IBL-volume-refraction
getIBLVolumeRefraction
get-PBR-shading
getPBRShading
get-PCF-shadows
getPCFShadows
get-base-color
getBaseColor
get-emissive-occlusion
getEmissiveOcclusion
get-lambert-shading
getLambertShading
get-metallic-roughness
getMetallicRoughness
get-normal-tangent-bitangent
getNormalTangentBitangent
get-phong-shading
getPhongShading
get-specular
getSpecular
get-transmission-thickness
getTransmissionThickness
head
RE-indirect-diffuse
REIndirectDiffuse
RE-indirect-specular
REIndirectSpecular
get-IBL-GGX-Fresnel
getIBLGGXFresnel
get-IBL-indirect-irradiance
getIBLIndirectIrradiance
get-IBL-indirect-radiance
getIBLIndirectRadiance
get-IBL-transmission
getIBLTransmission
get-PBR-direct
getPBRDirect
get-PCF-base-shadow-contribution
getPCFBaseShadowContribution
get-PCF-directional-shadow-contribution
getPCFDirectionalShadowContribution
get-PCF-directional-shadows
getPCFDirectionalShadows
get-PCF-point-shadow-contribution
getPCFPointShadowContribution
get-PCF-point-shadows
getPCFPointShadows
get-PCF-spot-shadow-contribution
getPCFSpotShadowContribution
get-PCF-spot-shadows
getPCFSpotShadows
get-fragment-input-struct
getFragmentInputStruct
get-lambert-direct
getLambertDirect
get-lights-infos
getLightsInfos
get-phong-direct
getPhongDirect
get-uv-cover-helper
getUVCover
get-vertex-to-UV-coords-helpers
getVertexToUVCoords
shading
PBR-shading
GetPBRShadingParams
getPBR
lambert-shading
GetShadingParams
lambertUtils
getLambert
phong-shading
getPhong
utils
BRDF_GGX
BRDF_GGX
common
common
constants
constants
generate-TBN
generateTBN
hammersley-2D
hammersley2D
tone-mapping-utils
toneMappingUtils
vertex
body
declare-attributes-vars
declareAttributesVars
get-morph-targets
getMorphTargets
get-vertex-output
getVertexOutput
get-vertex-skinned-position-normal
getVertexSkinnedPositionNormal
get-vertex-transformed-position-normal
getVertexTransformedPositionNormal
head
get-normal-helpers
getNormalHelpers
get-position-helpers
getPositionHelpers
get-vertex-output-struct-content
getVertexOutputStructContent
get-vertex-output-struct
getVertexOutputStruct
default-material-helpers
AdditionalChunks
patchAdditionalChunks
full
compute
compute-BRDF-LUT
computeBRDFLUT
compute-diffuse-from-specular-cubemap
computeDiffuseFromSpecularCubemap
compute-specular-cubemap-from-HDR
computeSpecularCubemapFromHDR
fragment
get-PBR-fragment-shader-code
getPBRFragmentShaderCode
get-default-fragment-code
getDefaultFragmentCode
get-default-normal-fragment-code
getDefaultNormalFragmentCode
get-default-point-shadow-depth-fragment-code
getDefaultPointShadowDepthFs
get-default-shader-pass-fragment-code
getDefaultShaderPassFragmentCode
get-fragment-shader-code
FragmentShaderInputBaseParams
UnlitFragmentShaderInputParams
LambertFragmentShaderInputParams
PhongFragmentShaderInputParams
PBRFragmentShaderInputParams
FragmentShaderInputParams
getFragmentShaderCode
get-lambert-fragment-shader-code
getLambertFragmentShaderCode
get-phong-fragment-shader-code
getPhongFragmentShaderCode
get-unlit-fragment-shader-code
getUnlitFragmentShaderCode
vertex
get-default-directional-shadow-depth-vertex-shader-code
getDefaultDirectionalShadowDepthVs
get-default-point-shadow-depth-vertex-shader-code
getDefaultPointShadowDepthVs
get-default-projected-vertex-shader-code
getDefaultProjectedVertexShaderCode
get-default-spot-shadow-depth-vertex-shader-code
getDefaultSpotShadowDepthVs
get-default-vertex-shader-code
getDefaultVertexShaderCode
get-vertex-shader-code
VertexShaderInputBaseParams
VertexShaderInputParams
getVertexShaderCode
shader-chunks
ShaderChunks
ProjectedShaderChunks
ProjectedShaderChunks
shaderChunks
shadows
DirectionalShadow
DirectionalShadowParams
DirectionalShadow
PointShadow
PointShadowParams
PointShadow
Shadow
ShadowsType
ShadowBaseParams
Shadow
SpotShadow
SpotShadowParams
SpotShadow
textures
MediaTexture
MediaTextureParams
MediaTextureOptions
MediaTextureSource
MediaTexture
Texture
TextureBaseParams
TextureParams
Texture
utils
TextureUsageKeys
getTextureUsages
getDefaultTextureUsage
getDefaultMediaTextureUsage
getNumMipLevels
curtains
GPUCurtains
GPUCurtainsOptions
GPUCurtainsParams
GPUCurtains
meshes
DOMMesh
DOMMeshBaseParams
DOMMeshParams
DOMMesh
Plane
PlaneParams
Plane
objects3D/DOMObject3D
DOMObject3DSize
DOMObject3DTransforms
DOMObject3DParams
DOMObject3D
renderers/GPUCurtainsRenderer
GPUCurtainsRenderer
textures/DOMTexture
DOMTextureParams
DOMTexture
extras
animations
KeyframesAnimation
KeyframesAnimationParams
KeyframesAnimation
TargetsAnimationsManager
Target
TargetsAnimationsManagerParams
TargetsAnimationsManager
buffers/IndirectBuffer
IndirectBufferOptions
IndirectBufferParams
IndirectBuffer
controls/OrbitControls
OrbitControlsBaseParams
OrbitControlsParams
OrbitControls
environmentMap/EnvironmentMap
ComputePassTextureParams
ComputeTextureBaseParams
LUTTextureParams
DiffuseTextureParams
SpecularTextureParams
EnvironmentMapOptions
EnvironmentMapParams
EnvironmentMap
geometries
BoxGeometry
BoxGeometryParams
BoxGeometry
SphereGeometry
SphereGeometryParams
SphereGeometry
gltf/GLTFScenesManager
GLTFScenesManager
loaders
GLTFLoader
GPUCurtainsGLTF
GLTFLoader
HDRLoader
HDRImageData
HDRLoader
meshes
LitMesh
ShadingModels
ToneMappings
ShaderTextureDescriptor
ColorSpace
LitMeshMaterialUniformParams
GetLitMeshMaterialUniform
UnlitTexturesDescriptors
LambertTexturesDescriptors
PhongTexturesDescriptors
PBRTexturesDescriptors
GetMaterialTexturesDescriptors
LitMeshMaterialParams
LitMeshParameters
LitMesh
PingPongPlane
PingPongPlaneParams
PingPongPlane
raycaster/Raycaster
Intersection
Raycaster
math
Box3
Box3
Mat3
Mat3
Mat4
PerspectiveProjectionParams
Mat4
Quat
AxisOrder
Quat
Vec2
Vec2
Vec3
Vec3
color-utils
sRGBToLinearFloat
linearTosRGBFloat
sRGBToLinear
linearTosRGB
types
BindGroups
InputValue
InputBase
Input
ReadOnlyInputBindings
ReadWriteInputBindings
BindGroupBufferBindingElement
BindGroupTextureSamplerElement
BindGroupBindingElement
AllowedBindGroups
BindGroupInputs
BindGroupParams
BindGroupEntries
Geometries
VertexBufferAttributeParams
VertexBufferAttribute
GeometryBuffer
VertexBuffer
VertexBufferParams
IndirectDrawParams
GeometryOptions
GeometryParams
GeometryBaseParams
Materials
RenderMaterialShadersType
ComputeMaterialShadersType
MaterialShadersType
FullShadersType
ShaderOptions
MaterialShaders
MaterialTexture
MaterialBaseOptions
MaterialBaseParams
MaterialBindGroups
MaterialInputBindingsParams
MaterialParams
MaterialOptions
ComputeMaterialParams
ComputeMaterialOptions
RenderMaterialAttributes
AllowedGeometries
RenderMaterialBaseRenderingOptions
RenderMaterialRenderingOptions
RenderMaterialBaseParams
RenderMaterialParams
RenderMaterialOptions
PipelineEntries
PipelineEntryShader
PipelineEntryShaders
PipelineEntryOptions
PipelineEntryBaseParams
PipelineEntryParams
PipelineEntryStatus
RenderPipelineRenderingOptions
RenderPipelineEntryOptions
RenderPipelineEntryParams
Textures
TextureSize
TextureSource
TextureSourceType
ExternalTextureParamsBase
TextureVisibility
MediaTextureBaseParams
SceneObjectTextureOptions
gltf
GLTF
GLTF
AccessorComponentType
AccessorType
AnimationChannelTargetPath
AnimationSamplerInterpolation
CameraType
MaterialAlphaMode
MeshPrimitiveMode
TextureMagFilter
TextureMinFilter
TextureWrapMode
IProperty
IChildRootProperty
IAccessorSparseIndices
IAccessorSparseValues
IAccessorSparse
IAccessor
IAnimationChannel
IAnimationChannelTarget
IAnimationSampler
IAnimation
IAsset
IBuffer
IBufferView
ICameraOrthographic
ICameraPerspective
ICamera
IImage
IMaterialNormalTextureInfo
IMaterialOcclusionTextureInfo
IMaterialPbrMetallicRoughness
IMaterial
IMeshPrimitive
IMesh
INode
ISampler
IScene
ISkin
ITexture
ITextureInfo
IGLTF
GLTFExtensions
GLTFExtensionsTypes
GLTFExtensionsUsed
GLTFLightsPunctual
GLTFVariants
GLTFExtensionsMapping
ExtensionKeys
GLTFExtensions
GLTFLightsPunctualExtension
GLTFMeshGPUInstancingExtension
GLTFNodesExtensionsMapping
NodesExtensionKeys
GLTFNodesExtensions
GLTFMaterialsVariants
GLTFPrimitivesExtensionsMapping
PrimitivesExtensionKeys
GLTFPrimitivesExtensions
GLTFTextureWebP
GLTFTexturesExtensionsMapping
TexturesExtensionKeys
GLTFTexturesExtensions
GLTFTextureTransform
GLTFTexturesInfosExtensionsMapping
TexturesInfosExtensionKeys
GLTFTexturesInfosExtensions
GLTFMaterialsDispersionExtension
GLTFMaterialsEmissiveStrengthExtension
GLTFMaterialsIorExtension
GLTFMaterialsSpecularExtension
GLTFMaterialsTransmissionExtension
GLTFMaterialsVolumeExtension
GLTFMaterialsExtensionsMapping
MaterialExtensionKeys
GLTFMaterialsExtensions
GLTFScenesManager
MeshDescriptorMaterialParams
MeshDescriptor
MaterialTextureDescriptor
PrimitiveInstanceDescriptor
PrimitiveInstances
ChildDescriptor
SkinDefinition
ScenesManager
types
InputValue
InputBase
Input
ReadOnlyInputBindings
ReadWriteInputBindings
BindGroupBufferBindingElement
BindGroupTextureSamplerElement
BindGroupBindingElement
AllowedBindGroups
BindGroupInputs
BindGroupParams
BindGroupEntries
VertexBufferAttributeParams
VertexBufferAttribute
GeometryBuffer
VertexBuffer
VertexBufferParams
IndirectDrawParams
GeometryOptions
GeometryParams
GeometryBaseParams
RenderMaterialShadersType
ComputeMaterialShadersType
MaterialShadersType
FullShadersType
ShaderOptions
MaterialShaders
MaterialTexture
MaterialBaseOptions
MaterialBaseParams
MaterialBindGroups
MaterialInputBindingsParams
MaterialParams
MaterialOptions
ComputeMaterialParams
ComputeMaterialOptions
RenderMaterialAttributes
AllowedGeometries
RenderMaterialBaseRenderingOptions
RenderMaterialRenderingOptions
RenderMaterialBaseParams
RenderMaterialParams
RenderMaterialOptions
PipelineEntryShader
PipelineEntryShaders
PipelineEntryOptions
PipelineEntryBaseParams
PipelineEntryParams
PipelineEntryStatus
RenderPipelineRenderingOptions
RenderPipelineEntryOptions
RenderPipelineEntryParams
TextureSize
TextureSource
TextureSourceType
ExternalTextureParamsBase
TextureVisibility
MediaTextureBaseParams
SceneObjectTextureOptions
GLTF
GLTFExtensionsTypes
GLTFExtensionsUsed
GLTFLightsPunctual
GLTFVariants
GLTFExtensionsMapping
ExtensionKeys
GLTFExtensions
GLTFLightsPunctualExtension
GLTFMeshGPUInstancingExtension
GLTFNodesExtensionsMapping
NodesExtensionKeys
GLTFNodesExtensions
GLTFMaterialsVariants
GLTFPrimitivesExtensionsMapping
PrimitivesExtensionKeys
GLTFPrimitivesExtensions
GLTFTextureWebP
GLTFTexturesExtensionsMapping
TexturesExtensionKeys
GLTFTexturesExtensions
GLTFTextureTransform
GLTFTexturesInfosExtensionsMapping
TexturesInfosExtensionKeys
GLTFTexturesInfosExtensions
GLTFMaterialsDispersionExtension
GLTFMaterialsEmissiveStrengthExtension
GLTFMaterialsIorExtension
GLTFMaterialsSpecularExtension
GLTFMaterialsTransmissionExtension
GLTFMaterialsVolumeExtension
GLTFMaterialsExtensionsMapping
MaterialExtensionKeys
GLTFMaterialsExtensions
MeshDescriptorMaterialParams
MeshDescriptor
MaterialTextureDescriptor
PrimitiveInstanceDescriptor
PrimitiveInstances
ChildDescriptor
SkinDefinition
ScenesManager
utils
CacheManager
CacheManager
cacheManager
ResizeManager
ResizeManagerEntry
ResizeManager
resizeManager
ScrollManager
ScrollManagerParams
ScrollManager
TasksQueueManager
TaskQueueItem
TaskQueueItemParams
TasksQueueManager
utils
generateUUID
toCamelCase
toKebabCase
throwWarning
throwError
webgpu-constants
WebGPUShaderStageConstants
WebGPUBufferUsageConstants
WebGPUTextureUsageConstants
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R