Changeset 5126
- Timestamp:
- May 28, 2008, 11:40:40 PM (17 years ago)
- Location:
- data/Media/materials/scripts
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
data/Media/materials/scripts/Bloom.material
r5119 r5126 160 160 { 161 161 lighting on 162 diffuse 0.0 0.0 0.0 0. 6162 diffuse 0.0 0.0 0.0 0.8 163 163 specular 0.0 0.0 0.0 0.0 164 164 ambient 0.0 0.0 0.0 -
data/Media/materials/scripts/Bump_Specular.material
r5122 r5126 4 4 //-------------- 5 5 6 // Bump map vertex program, support for this is required7 vertex_program BumpMap2VP cg8 {9 source BumpMapping.cg10 entry_point main_vp11 profiles vs_1_1 arbvp112 }13 14 // Bump map fragment program, support for this is optional15 fragment_program BumpMap2FP cg16 {17 source BumpMapping.cg18 entry_point main_fp19 profiles ps_1_1 arbfp1 fp2020 }21 22 // Bump map with specular vertex program, support for this is required23 vertex_program BumpMap2VPSpecular cg24 {25 source BumpMapping.cg26 entry_point specular_vp27 profiles vs_1_1 arbvp128 }29 30 // Bump map fragment program, support for this is optional31 fragment_program BumpMap2FPSpecular cg32 {33 source BumpMapping.cg34 entry_point specular_fp35 profiles ps_1_1 arbfp1 fp2036 37 default_params38 {39 param_named shine float 340 }41 42 }43 6 44 7 45 8 // Any number of lights, diffuse and specular 46 material BumpMapping/MultiLightSpecular9 material Assff/BumpMap 47 10 { 48 11 … … 84 47 85 48 // Vertex program reference 86 vertex_program_ref BumpMap 2VPSpecular49 vertex_program_ref BumpMapVPSpecular 87 50 { 88 51 param_named_auto lightPosition light_position_object_space 0 … … 92 55 93 56 // Fragment program 94 fragment_program_ref BumpMap 2FPSpecular57 fragment_program_ref BumpMapFPSpecular 95 58 { 96 59 param_named_auto lightDiffuse light_diffuse_colour 0 97 60 param_named_auto lightSpecular light_specular_colour 0 98 param_named shine float 2061 param_named shine float 2 99 62 } 100 63 … … 102 65 texture_unit 103 66 { 104 texture NMnone.tga67 texture nmnone.tga 105 68 colour_op replace 106 69 } … … 137 100 texture_unit 138 101 { 139 texture assff. jpg102 texture assff.JPG 140 103 } 141 104 … … 181 144 182 145 // Vertex program reference 183 vertex_program_ref BumpMap 2VP146 vertex_program_ref BumpMapVP 184 147 { 185 148 param_named_auto lightPosition light_position_object_space 0 … … 190 153 texture_unit 191 154 { 192 texture NMnone.tga155 texture nmnone.tga 193 156 colour_op replace 194 157 } … … 220 183 texture_unit 221 184 { 222 texture assff. jpg185 texture assff.JPG 223 186 } 224 187 -
data/Media/materials/scripts/MotionBlur.material
r5119 r5126 7 7 default_params 8 8 { 9 param_named blur float 0. 69 param_named blur float 0.7 10 10 } 11 11 } -
data/Media/materials/scripts/asteroids.material
r5122 r5126 66 66 { 67 67 param_named_auto worldViewProj worldviewproj_matrix 68 param_named _auto ambient ambient_light_colour68 param_named ambient float3 0.1 0.1 0.1 69 69 } 70 70 … … 96 96 param_named_auto lightDiffuse light_diffuse_colour 0 97 97 param_named_auto lightSpecular light_specular_colour 0 98 param_named shine float 4 98 99 } 99 100 … … 101 102 texture_unit 102 103 { 103 texture NMrock.tga104 texture nmrock.tga 104 105 colour_op replace 105 106 } … … 189 190 texture_unit 190 191 { 191 texture NMrock.tga192 texture nmrock.tga 192 193 colour_op replace 193 194 }
Note: See TracChangeset
for help on using the changeset viewer.