Changeset 1451 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Timestamp:
- 09/21/06 20:00:22 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_HPS_Smoke_S.hlsl
r1446 r1451 58 58 b = bPosition.z / bPosition.w; 59 59 60 alpha = pow(w / IN.r, 4);60 // alpha = pow(w / IN.r, 4); 61 61 } 62 62 else … … 65 65 Color.r = b; 66 66 Color.g = 1 - f; 67 68 alpha = 1; 67 69 Color.a = alpha * IN.Color.a; 68 70 Color.a *= tex2D(Texture, IN.texCoord).r * 0.7;
Note: See TracChangeset
for help on using the changeset viewer.