Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.material.mapping.VolumetricScreenSpaceMapping
Extends/Implements : un.engine.opengl.material.mapping.Mapping
Subclasses : -

Volumetric is use to simulate color attenuation based on volume/depth information.
This is similar to a fog technique where the fragment position is compared to a depth texture.
the farther the fragment is from the depth, the greater alpha will be.
This mapping should be used with the layer multiply method.
author  Johann Sorel


Variables : -
Functions : VolumetricScreenSpaceMapping, VolumetricScreenSpaceMapping, getTexture, setTexture, isDirty, dispose



public void VolumetricScreenSpaceMapping ()


param  depthtexture expecting a 1D float texture
public void VolumetricScreenSpaceMapping (Texture2D depthtexture)

public Texture2D getTexture ()

public void setTexture (Texture2D texture)

public boolean isDirty ()

public void dispose (GLProcessContext context)