Click or drag to resize
AB4D logo

IEnvironmentalMapMaterial Interface

IEnvironmentalMapMaterial interface defines properties that define a material that show reflection of the environment defined by the EnvironmentalCubeMap.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public interface IEnvironmentalMapMaterial

The IEnvironmentalMapMaterial type exposes the following members.

Properties
 NameDescription
Public propertyEnvironmentalCubeMap Gets ShaderResourceView that defines the EnvironmentalCubeMap. ShaderResourceView should define a cube map with 6 textures for each side of the cube.
Public propertyReflectionFactor Gets reflection factor from 0 to 1 that is used when ReflectionMap is not set (is null). Values 1 means full reflection (only enviromental map will be shown) and 0 means that only diffuse material without environmental map is shown.
Public propertyReflectionMap Gets ShaderResourceView that defines the reflection map where white colors mean fully reflective image and black colors mean no reflection (fully diffuse).
Top
See Also