M
- The type of shader parameterspublic interface R2ShaderLightProjectiveWithShadowUsableType<M extends R2LightProjectiveWithShadowReadableType> extends R2ShaderLightProjectiveUsableType<M>
Modifier and Type | Method and Description |
---|---|
void |
onReceiveShadowMap(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextMutableType tc,
R2Texture2DUsableType map)
Set values from the given shadow map context.
|
onReceiveProjectiveLight
onReceiveVolumeLightTransform
onReceiveBoundGeometryBufferTextures, onReceiveValues
environment, onActivate, onDeactivate, onValidate, shaderID, shaderParametersType, shaderProgram
void onReceiveShadowMap(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g, com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextMutableType tc, R2Texture2DUsableType map)
Set values from the given shadow map context.
This method will be called once for each projective light that uses the current shader.
This method will be called after a call to R2ShaderUsableType.onActivate(JCGLInterfaceGL33Type)
and before a call to R2ShaderUsableType.onValidate()
.
g
- An OpenGL interfacetc
- A texture unit contextmap
- A rendered shadow mapCopyright © 2017 <code@io7m.com> http://io7m.com