Rev | Line | |
---|
[2376] | 1 | vertex_program Moria/MoriaDust_VS hlsl
|
---|
| 2 | {
|
---|
| 3 | source MoriaDust.hlsl
|
---|
| 4 | entry_point MoriaDust_VS
|
---|
| 5 | target vs_2_0
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | fragment_program Moria/MoriaDust_PS hlsl
|
---|
| 9 | {
|
---|
| 10 | source MoriaDust.hlsl
|
---|
| 11 | entry_point MoriaDust_PS
|
---|
| 12 | target ps_2_0
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | material MoriaDust
|
---|
| 16 | {
|
---|
| 17 | technique
|
---|
| 18 | {
|
---|
| 19 | pass
|
---|
| 20 | {
|
---|
| 21 | IllumTechniques
|
---|
| 22 | {
|
---|
| 23 | RenderTechnique SphericalBillboard
|
---|
| 24 | {
|
---|
| 25 | texture_unit_id 1
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | depth_check off
|
---|
| 30 | depth_write off
|
---|
| 31 | scene_blend src_alpha one
|
---|
[2398] | 32 | scene_blend_alpha zero one
|
---|
[2376] | 33 | //scene_blend alpha_blend
|
---|
| 34 | vertex_program_ref Moria/MoriaDust_VS
|
---|
| 35 | {
|
---|
| 36 | param_named_auto worldView worldview_matrix
|
---|
| 37 | param_named_auto Proj projection_matrix
|
---|
| 38 | param_named_auto width viewport_width
|
---|
| 39 | param_named_auto height viewport_height
|
---|
| 40 | }
|
---|
| 41 | fragment_program_ref Moria/MoriaDust_PS
|
---|
| 42 | {
|
---|
| 43 | param_named_auto farplane far_clip_distance
|
---|
| 44 | param_named_auto nearplane near_clip_distance
|
---|
[2414] | 45 | param_named color float4 0.95 0.96 0.95 0.1
|
---|
[2376] | 46 | param_named symmetry float 0.1
|
---|
| 47 | param_named_auto lightCPos light_position_view_space 0
|
---|
[2392] | 48 | param_named_auto lightPower light_power 0
|
---|
[2376] | 49 | }
|
---|
| 50 | texture_unit
|
---|
| 51 | {
|
---|
| 52 | texture dust.dds
|
---|
| 53 | }
|
---|
| 54 | texture_unit //scene depth
|
---|
| 55 | {
|
---|
| 56 | }
|
---|
| 57 | texture_unit
|
---|
| 58 | {
|
---|
| 59 | texture phasefunction.jpg
|
---|
| 60 | }
|
---|
| 61 | }
|
---|
| 62 | }
|
---|
| 63 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.