Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

EnvMap_small.fx File Reference


Classes

struct  VS_INPUT
struct  VS_OUTPUT
struct  VS_INPUTc
struct  VS_OUTPUTc

Defines

#define CUBEMAP_SIZE   256
#define LR_CUBEMAP_SIZE   32
#define RATE   (CUBEMAP_SIZE/LR_CUBEMAP_SIZE)
#define Technique(name)

Functions

float4 GetContibution (float3 q, float3 L)
VS_OUTPUTc ConvolutionVS (VS_INPUTc IN)
float4 ConvolutionPS (VS_OUTPUTc IN)
 Technique (Convolution)

Variables

int TEXTURE_SIZE
float4x4 World
float4x4 WorldView
float4x4 WorldViewIT
float4x4 WorldViewProjection
float texel_size
float roomSize
float4 eyePos
float4 objColor
float4 objOffset
int iShowCubeMap
float sFresnel
float refractionIndex
float intensity
int shininess
float brightness
texture EnvironmentMap
texture Decoration
int nFace
sampler EnvironmentMapSampler
sampler EnvironmentMapSamplerL
sampler DecorationSampler

Define Documentation

#define CUBEMAP_SIZE   256
 

#define LR_CUBEMAP_SIZE   32
 

#define RATE   (CUBEMAP_SIZE/LR_CUBEMAP_SIZE)
 

#define Technique name   ) 
 

Value:

;                                                               \
        technique name                                                                          \
        {                                                                                                       \
            pass p0                                                                                     \
            {                                                                                           \
                    VertexShader = compile vs_3_0 name##VS();   \
                    PixelShader  = compile ps_3_0 name##PS();   \
                }                                                                                               \
        }


Function Documentation

float4 ConvolutionPS VS_OUTPUTc  IN  ) 
 

VS_OUTPUTc ConvolutionVS VS_INPUTc  IN  ) 
 

float4 GetContibution float3  q,
float3  L
 

Technique Convolution   ) 
 


Variable Documentation

float brightness
 

texture Decoration
 

sampler DecorationSampler
 

Initial value:

 sampler_state 
{
        
    Texture   = <Decoration>;
    AddressU  = BORDER;
    AddressV  = BORDER;
}

texture EnvironmentMap
 

sampler EnvironmentMapSampler
 

Initial value:

 sampler_state 
{
    
    Texture   = <EnvironmentMap>;
    AddressU  = WRAP;
    AddressV  = WRAP;
}

sampler EnvironmentMapSamplerL
 

Initial value:

 sampler_state 
{
    MinFilter = LINEAR;
    MagFilter = LINEAR;
    
    Texture   = <EnvironmentMap>;
    AddressU  = WRAP;
    AddressV  = WRAP;
}

float4 eyePos
 

float intensity
 

int iShowCubeMap
 

int nFace
 

float4 objColor
 

float4 objOffset
 

float refractionIndex
 

float roomSize
 

float sFresnel
 

int shininess
 

float texel_size
 

int TEXTURE_SIZE
 

float4x4 World
 

float4x4 WorldView
 

float4x4 WorldViewIT
 

float4x4 WorldViewProjection
 


Generated on Tue Aug 22 22:32:50 2006 for Indirect Environment Mapping by  doxygen 1.4.2