- Timestamp:
- 01/24/07 21:44:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPEnvMap/GTPEnvMap.hlsl
r2040 r2054 25 25 26 26 // iteration 27 for( int i = 0; i < SECANT_ITERATIONCOUNT ; i++ )27 for( int i = 0; i < SECANT_ITERATIONCOUNT ; i++ ) 28 28 { 29 29 float llp = length( l ) / readDistanceCubeMap( mp, l); // |l|/|l| … … 43 43 } 44 44 45 struct ShadedTex_OUT 45 46 struct Shaded_OUT 46 47 { 47 48 float4 vPos : POSITION; 48 float4 texCoord : TEXCOORD0; 49 float4 wNormal : TEXCOORD1; 50 float4 wPos : TEXCOORD2; 49 float4 wNormal : TEXCOORD0; 50 float4 wPos : TEXCOORD1; 51 51 }; 52 52 53 float4 EnvMap_Default_PS(ShadedTex_OUT IN, 53 54 float4 EnvMap_Default_PS(Shaded_OUT IN, 54 55 uniform samplerCUBE CubeMap : register(s0), 55 56 uniform float3 cameraPos) : COLOR0 … … 62 63 } 63 64 64 float4 EnvMap_Localized_Reflection_PS( Shaded Tex_OUT IN,65 float4 EnvMap_Localized_Reflection_PS( Shaded_OUT IN, 65 66 uniform samplerCUBE CubeMap : register(s0), 66 67 uniform samplerCUBE DistanceMap : register(s1), … … 82 83 } 83 84 84 float4 EnvMap_Localized_Refraction_PS( Shaded Tex_OUT IN,85 float4 EnvMap_Localized_Refraction_PS( Shaded_OUT IN, 85 86 uniform samplerCUBE CubeMap : register(s0), 86 87 uniform samplerCUBE DistanceMap : register(s1), … … 111 112 112 113 113 float4 EnvMap_LocalizedMetal_PS( Shaded Tex_OUT IN,114 float4 EnvMap_LocalizedMetal_PS( Shaded_OUT IN, 114 115 uniform samplerCUBE CubeMap : register(s0), 115 116 uniform samplerCUBE DistanceMap : register(s1),
Note: See TracChangeset
for help on using the changeset viewer.