/** * * \author Markus Wegmann * **/ material Godrays/Raw/Sun // Renders the sun as a single colored sphere. Z-buffering is enabled. { technique { pass { ambient 1.0 1.0 1.0 1.0 lightning off } } } material Godrays/Raw/Obstacle // Renders the sun as a single colored sphere. Z-buffering is enabled. { technique { pass { ambient 0.0 0.0 0.0 1.0 lightning off } } } fragment_program GodrayBlurFragmentProgram cg { source Godrays_blur.cg entry_point godray_blur profiles ps_3_0 fp40 } material Godrays/Blur/RadialBlur { technique { pass { fragment_program_ref GodrayBlurFragmentProgram { param_indexed 0 float2 0.0 0.0 param_indexed 1 float 1.0 param_indexed 2 float 0.1 param_indexed 3 float 0.7 // The raw decal has to be loaded manually by api. } } } }