[2040] | 1 | material GTP/EnvMap/Default
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | pass
|
---|
| 6 | {
|
---|
| 7 | IllumTechniques
|
---|
| 8 | {
|
---|
| 9 | RenderTechnique ColorCubeMap
|
---|
| 10 | {
|
---|
| 11 | update_interval 1
|
---|
| 12 | update_all_face true
|
---|
| 13 | distance_calc false
|
---|
| 14 | face_angle_calc false
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
| 17 | vertex_program_ref GTP/Basic/ShadedTex_VS
|
---|
| 18 | {
|
---|
| 19 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
| 20 | param_named_auto World world_matrix
|
---|
| 21 | param_named_auto WorldInv inverse_world_matrix
|
---|
| 22 | }
|
---|
| 23 | fragment_program_ref GTP/EnvMap/Defaut_PS
|
---|
| 24 | {
|
---|
| 25 | param_named_auto cameraPos camera_position
|
---|
| 26 | }
|
---|
| 27 | //Cube map of reflections
|
---|
| 28 | texture_unit
|
---|
| 29 | {
|
---|
| 30 |
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
| 33 | }
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 | material GTP/EnvMap/Localized_Reflector
|
---|
| 37 | {
|
---|
| 38 | technique
|
---|
| 39 | {
|
---|
| 40 | pass
|
---|
| 41 | {
|
---|
| 42 | IllumTechniques
|
---|
| 43 | {
|
---|
| 44 | RenderTechnique ColorCubeMap
|
---|
| 45 | {
|
---|
| 46 | update_interval 0
|
---|
| 47 | update_all_face true
|
---|
| 48 | distance_calc true 3.5
|
---|
| 49 | }
|
---|
| 50 | RenderTechnique DistanceCubeMap
|
---|
| 51 | {
|
---|
| 52 | update_interval 0
|
---|
| 53 | update_all_face true
|
---|
| 54 | distance_calc true 3.5
|
---|
| 55 | }
|
---|
| 56 | }
|
---|
| 57 | vertex_program_ref GTP/Basic/ShadedTex_VS
|
---|
| 58 | {
|
---|
| 59 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
| 60 | param_named_auto World world_matrix
|
---|
| 61 | param_named_auto WorldInv inverse_world_matrix
|
---|
| 62 | }
|
---|
| 63 | fragment_program_ref GTP/EnvMap/Localized_Reflection_PS
|
---|
| 64 | {
|
---|
| 65 | param_named_auto cameraPos camera_position
|
---|
| 66 | param_named lastCenter float3 0 0 0
|
---|
| 67 | }
|
---|
| 68 | //Cube map for reflections and refractions
|
---|
| 69 | texture_unit
|
---|
| 70 | {
|
---|
| 71 |
|
---|
| 72 | }
|
---|
| 73 | //Cube map of distances
|
---|
| 74 | texture_unit
|
---|
| 75 | {
|
---|
[2266] | 76 | filtering none
|
---|
[2040] | 77 | }
|
---|
| 78 | }
|
---|
| 79 | }
|
---|
| 80 | }
|
---|
| 81 |
|
---|
| 82 | material GTP/EnvMap/Localized_Reflector_Refractor
|
---|
| 83 | {
|
---|
| 84 | technique
|
---|
| 85 | {
|
---|
| 86 | pass
|
---|
| 87 | {
|
---|
| 88 | IllumTechniques
|
---|
| 89 | {
|
---|
| 90 | RenderTechnique ColorCubeMap
|
---|
| 91 | {
|
---|
| 92 | update_interval 0
|
---|
| 93 | update_all_face true
|
---|
| 94 | distance_calc true 3.5
|
---|
| 95 | }
|
---|
| 96 | RenderTechnique DistanceCubeMap
|
---|
| 97 | {
|
---|
| 98 | update_interval 0
|
---|
| 99 | update_all_face true
|
---|
| 100 | distance_calc true 3.5
|
---|
| 101 | }
|
---|
| 102 | }
|
---|
| 103 | vertex_program_ref GTP/Basic/ShadedTex_VS
|
---|
| 104 | {
|
---|
| 105 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
| 106 | param_named_auto World world_matrix
|
---|
| 107 | param_named_auto WorldInv inverse_world_matrix
|
---|
| 108 | }
|
---|
| 109 | fragment_program_ref GTP/EnvMap/Localized_Refraction_PS
|
---|
| 110 | {
|
---|
| 111 | param_named_auto cameraPos camera_position
|
---|
| 112 | param_named lastCenter float3 0 0 0
|
---|
| 113 | param_named sFresnel float 0.104
|
---|
| 114 | param_named sRefraction float 0.6667
|
---|
| 115 | }
|
---|
| 116 | //Cube map for reflections and refractions
|
---|
| 117 | texture_unit
|
---|
| 118 | {
|
---|
| 119 |
|
---|
| 120 | }
|
---|
| 121 | //Cube map of distances
|
---|
| 122 | texture_unit
|
---|
| 123 | {
|
---|
[2266] | 124 | filtering none
|
---|
[2040] | 125 | }
|
---|
| 126 | }
|
---|
| 127 | }
|
---|
| 128 | }
|
---|
| 129 |
|
---|
| 130 | material GTP/EnvMap/Localized_Metal
|
---|
| 131 | {
|
---|
[2266] | 132 | technique maintechnique
|
---|
[2040] | 133 | {
|
---|
| 134 | pass mainpass
|
---|
| 135 | {
|
---|
| 136 | IllumTechniques
|
---|
| 137 | {
|
---|
| 138 | RenderTechnique ColorCubeMap
|
---|
| 139 | {
|
---|
| 140 | update_interval 0
|
---|
| 141 | update_all_face true
|
---|
[2054] | 142 | distance_calc false
|
---|
| 143 | face_angle_calc false
|
---|
[2040] | 144 | }
|
---|
| 145 | RenderTechnique DistanceCubeMap
|
---|
| 146 | {
|
---|
| 147 | update_interval 0
|
---|
| 148 | update_all_face true
|
---|
[2054] | 149 | distance_calc false
|
---|
| 150 | face_angle_calc false
|
---|
[2040] | 151 | }
|
---|
| 152 | }
|
---|
[2175] | 153 | vertex_program_ref GTP/Basic/Shaded_VS
|
---|
[2040] | 154 | {
|
---|
| 155 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
| 156 | param_named_auto World world_matrix
|
---|
| 157 | param_named_auto WorldInv inverse_world_matrix
|
---|
| 158 | }
|
---|
| 159 | fragment_program_ref GTP/EnvMap/Localized_Metal_PS
|
---|
| 160 | {
|
---|
| 161 | param_named_auto cameraPos camera_position
|
---|
| 162 | param_named lastCenter float3 0 0 0
|
---|
| 163 | param_named F0 float3 1 1 1
|
---|
| 164 | }
|
---|
| 165 | //Cube map for reflections and refractions
|
---|
| 166 | texture_unit
|
---|
| 167 | {
|
---|
| 168 |
|
---|
| 169 | }
|
---|
| 170 | //Cube map of distances
|
---|
| 171 | texture_unit
|
---|
| 172 | {
|
---|
[2266] | 173 | filtering none
|
---|
[2040] | 174 | }
|
---|
| 175 | }
|
---|
| 176 | }
|
---|
| 177 | }
|
---|
| 178 |
|
---|
| 179 | material GTP/EnvMap/Gold : GTP/EnvMap/Localized_Metal
|
---|
| 180 | {
|
---|
[2266] | 181 | technique maintechnique
|
---|
[2040] | 182 | {
|
---|
| 183 | pass mainpass
|
---|
| 184 | {
|
---|
| 185 | fragment_program_ref
|
---|
| 186 | {
|
---|
| 187 | param_named F0 float3 0.96 0.85 0.39
|
---|
| 188 | }
|
---|
| 189 | }
|
---|
| 190 | }
|
---|
| 191 | }
|
---|
| 192 |
|
---|
| 193 | material GTP/EnvMap/Silver : GTP/EnvMap/Localized_Metal
|
---|
| 194 | {
|
---|
[2266] | 195 | technique maintechnique
|
---|
[2040] | 196 | {
|
---|
| 197 | pass mainpass
|
---|
[2266] | 198 | {
|
---|
| 199 | fragment_program_ref GTP/EnvMap/Localized_Metal_PS
|
---|
| 200 | {
|
---|
| 201 |
|
---|
| 202 | param_named F0 float3 0.97 0.95 0.9
|
---|
| 203 | }
|
---|
[2040] | 204 | }
|
---|
| 205 | }
|
---|
| 206 | }
|
---|
| 207 |
|
---|
| 208 | material GTP/EnvMap/Copper : GTP/EnvMap/Localized_Metal
|
---|
| 209 | {
|
---|
[2266] | 210 | technique maintechnique
|
---|
[2040] | 211 | {
|
---|
| 212 | pass mainpass
|
---|
| 213 | {
|
---|
| 214 | fragment_program_ref
|
---|
| 215 | {
|
---|
| 216 | param_named F0 float3 0.95 0.63 0.54
|
---|
| 217 | }
|
---|
| 218 | }
|
---|
| 219 | }
|
---|
| 220 | }
|
---|
| 221 |
|
---|
| 222 | material GTP/EnvMap/Alu : GTP/EnvMap/Localized_Metal
|
---|
| 223 | {
|
---|
[2266] | 224 | technique maintechnique
|
---|
[2040] | 225 | {
|
---|
| 226 | pass mainpass
|
---|
| 227 | {
|
---|
| 228 | fragment_program_ref
|
---|
| 229 | {
|
---|
| 230 | param_named F0 float3 0.9 0.92 0.92
|
---|
| 231 | }
|
---|
| 232 | }
|
---|
| 233 | }
|
---|
| 234 | } |
---|