Changeset 864 for GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/maple/leaves/mapleLeavesMaterial.material
- Timestamp:
- 04/30/06 00:55:23 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/maple/leaves/mapleLeavesMaterial.material
r861 r864 72 72 { 73 73 texture mapleMergedBillboardsDiffuseColorAtlas0.png 74 filtering none none none74 filtering none 75 75 } 76 76 } … … 100 100 { 101 101 param_named sourceTextureSize float 16.0 102 param_named numSamples float 16.0103 102 param_named sqrtNumSamples float 4.0 104 103 } … … 113 112 { 114 113 texture mapleRotatedLeafAtlasDefault.png 114 filtering none 115 115 } 116 116 } … … 129 129 lighting off 130 130 131 vertex_program_ref indirectTexturingDefault_VP20 132 { 133 param_named_auto worldviewproj worldviewproj_matrix 134 } 135 136 fragment_program_ref indirectTexturingDefault_FP20 137 { 131 //vertex_program_ref indirectTexturingDefault_VP20 132 //{ 133 // param_named_auto worldviewproj worldviewproj_matrix 134 //} 135 136 //fragment_program_ref indirectTexturingDefault_FP20 137 //{ 138 // param_named sourceTextureSize float 16.0 139 // param_named sqrtNumSamples float 4.0 140 //} 141 142 vertex_program_ref indirectTexturingDefault_glsl_VP20 143 { 144 } 145 146 fragment_program_ref indirectTexturingDefault_glsl_FP20 147 { 148 param_named indirectTexture int 0 149 param_named sourceTexture int 1 138 150 param_named sourceTextureSize float 16.0 139 param_named numSamples float 16.0140 151 param_named sqrtNumSamples float 4.0 141 } 142 143 //vertex_program_ref indirectTexturingDefault_glsl_VP20 144 //{ 145 //} 146 147 //fragment_program_ref indirectTexturingDefault_glsl_FP20 148 //{ 149 // param_named indirectTexture int 0 150 // param_named sourceTexture int 1 151 // param_named sourceTextureSize float 16.0 152 // param_named numSamples float 16.0 153 // param_named sqrtNumSamples float 4.0 154 //} 155 156 texture_unit 157 { 158 texture mapleIndirectBillboardGroupAtlas0.png 159 filtering none 160 } 161 162 texture_unit 163 { 164 texture mapleRotatedLeafAtlasDefault.png 165 } 166 } 167 } 168 169 // DIRECTX/HLSL Indirect texture debug 152 } 153 154 texture_unit 155 { 156 texture mapleIndirectBillboardGroupAtlas0.png 157 filtering none 158 } 159 160 texture_unit 161 { 162 texture mapleRotatedLeafAtlasDefault.png 163 filtering none 164 } 165 } 166 } 167 168 // DIRECTX/HLSL Indirect texture debug leaf position 170 169 // This technique render the billboard cloud using the indirect texturing 171 170 // approach, a numeric texture is used in order to tweak the leaf positions … … 189 188 { 190 189 param_named sourceTextureSize float 16.0 191 param_named numSamples float 16.0192 190 param_named sqrtNumSamples float 4.0 193 191 } … … 195 193 texture_unit 196 194 { 197 texture prunusIndirectBillboardGroupAtlas0.png195 texture mapleIndirectBillboardGroupAtlas0.png 198 196 filtering none 199 197 } … … 228 226 //{ 229 227 // param_named sourceTextureSize float 16.0 230 // param_named numSamples float 16.0231 228 // param_named sqrtNumSamples float 4.0 232 229 //} … … 241 238 param_named sourceTexture int 1 242 239 param_named sourceTextureSize float 16.0 243 param_named numSamples float 16.0244 240 param_named sqrtNumSamples float 4.0 245 241 } … … 247 243 texture_unit 248 244 { 249 texture prunusIndirectBillboardGroupAtlas0.png245 texture mapleIndirectBillboardGroupAtlas0.png 250 246 filtering none 251 247 }
Note: See TracChangeset
for help on using the changeset viewer.