Changeset 2464 for GTP/trunk/App/Demos/Illum/Ogre/Media
- Timestamp:
- 06/25/07 15:40:55 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/Fire.hlsl
r2458 r2464 109 109 110 110 //Heat.rg *= (tex2D(heatTex, IN.texCoord.xy + frametime).rg * 2.0 - 1.0) * IN.color.a; 111 Heat.rg *= grad *(tex2D(heatTex, IN.texCoord.xy + frametime).rg * 2.0 - 1.0) * IN.color.a;111 Heat.rg *= /*grad **/ (tex2D(heatTex, IN.texCoord.xy + frametime).rg * 2.0 - 1.0) * IN.color.a; 112 112 113 113 Color.a *= 10.0; … … 131 131 ):COLOR 132 132 { 133 float maxOffset = 0.0 35;133 float maxOffset = 0.045; 134 134 float4 Color = 1; 135 135 float2 halfpixel = float2(1.0 / width, 1.0 / height); -
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/FireBall.particle
r2458 r2464 13 13 emitter Point 14 14 { 15 colour_range_start 1 1 1 0.016 colour_range_end 0.8 1 0.5 015 colour_range_start 1 1 1 1.0 16 colour_range_end 0.8 1 0.5 1 17 17 18 18 emission_rate 100 … … 26 26 } 27 27 28 affector ColourFader2 29 { 30 alpha1 +6.0 31 alpha2 -6.0 32 state_change 0.15 33 } 28 // affector ColourFader2 29 // { 30 // alpha1 +6.0 31 // alpha2 -6.0 32 // state_change 0.15 33 // } 34 34 35 } 35 36 -
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/illum.hlsl
r2458 r2464 2 2 #define SPOT_FALLOFF 1 3 3 #define SHADOW_COLOR float4(0.2,0.2,0.2,1.0) 4 #define SHADOW_BIAS_POINT 0.00 15 #define SHADOW_EPSILON_POINT 0.00000 054 #define SHADOW_BIAS_POINT 0.0025 5 #define SHADOW_EPSILON_POINT 0.000001 6 6 7 7 float4 Illumination(float3 N, float3 L, float3 V, float4 lightColor, float4 lightRange, float4 diffuseColor, float specularity, float4 specularColor)
Note: See TracChangeset
for help on using the changeset viewer.