- Timestamp:
- 06/08/07 01:15:25 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPParticles/GTP_HPS.hlsl
r2328 r2425 165 165 uniform sampler2D illumVolume : register(s2), 166 166 uniform float farplane, 167 uniform float nearplane 167 uniform float nearplane, 168 uniform float4 color 168 169 ) : COLOR 169 170 { 170 float4 Color = 0;171 float4 Color = IN.Color * color; 171 172 float4 impostor = tex2D(Texture, IN.texCoord); 172 173 float f = 1.0 - impostor.g; … … 192 193 193 194 ///final color 194 Color = float4(1, 1, 1, alpha) * IN.Color; 195 Color.a *= alpha; 196 195 197 return Color; 196 198
Note: See TracChangeset
for help on using the changeset viewer.