<?xml version="1.0" encoding="utf-8"?>
<terragen_clip>

	
	
	
	
	
	
	
	
	
	
	
	
	
	
<non_node>


<library_description>Godray sandbox - a clipfile intended as a prooving ground for multi-sun approach (or other idea) for the improvement of godrays quality.</library_description><library_connection_tips/></non_node><cloud_fractal_shader_v3 name="Density fractal 01" gui_use_node_pos="1" gui_node_pos="1160 620 0" gui_group="Godray sandbox" enable="1" input_node="" gui_use_preview_patch_size="1" gui_preview_patch_size="4000 4000" seed="37982" feature_scale="400" lead-in_scale="8000" smallest_scale="2" noise_octaves="14" noise_stretch_XYZ="1 1 1" apply_high_colour="1" high_colour="1 1 1" apply_low_colour="0" low_colour="0 0 0" contrast="1" coverage_adjust="0" roughness="1.75" clamp_high="0" clamp_low="0" apply_displacement="0" displacement_direction="1" displacement_amplitude="1" displacement_offset="0" displacement_roughness="1" displacement_spike_limit="1" continue_spike_limit="0" adjust_coastline="0" coastline_altitude="0" coastline_smoothing="30" noise_flavour="4" ridge_smoothing="0.23125" gully_smoothing="0.15625" noise_variation="1" variation_method="2" buoyancy_from_variation="0.15" clumping_of_variation="0.25" distort_by_normal="0" distortion_by_normal="5" lead-in_warp_effect="0" lead-in_warp_amount="0.5" less_warp_at_feature_scale="1" allow_vertical_warp="1" four-d_noise="0" four-d_noise_speed="0.1" reference_frame_number="0" blend_by_shader="0" blending_shader="" fit_blendshader_to_this="0" invert_blendshader="0">
	</cloud_fractal_shader_v3><render name="Render" gui_use_node_pos="1" gui_node_pos="1580 260 0" gui_group="Rendering" master="1" image_width="1280" lock_aspect_ratio="1" image_height="720" image_aspect_ratio="1.777777778" pixel_aspect_ratio="1" camera="Render Cam - Godray sandbox" surfaces_visible="1" atmosphere_visible="1" do_shadows="1" detail="0.55" anti-aliasing="3" ray_trace_objects="1" ray_trace_atmosphere="1" motion_blur="1" motion_blur_method="1" depth_of_field="0" dof_method="2" GI_relative_detail="1" GI_sample_quality="2.75" GI_blur_radius="8" supersample_prepass="1" GI_surface_details="1" do_crop_region="0" crop_left="0" crop_right="0.5" crop_bottom="0.5" crop_top="1" crop_to_object="0" crop_object_name="" pixel_filter="2" anti-aliasing_bloom="1" detail_blending="0" displacement_filter="1" microvertex_jittering="1" detail_jittering="1" lock_subdiv_to_frame="0" lock_to_frame_number="1" do_reverse_primary_rays="0" reverse_primary_rays_multiplier="1" fix_holes="1" do_ray_traced_shadows="1" ray_trace_everything="0" soft_clip_effect="1" soft_clip_softness="1" compensate_soft_clip="1" contrast="1" contrast_adjust="0.25" gamma_correction="2.2" minimum_threads="1" maximum_threads="64" size_of_subdiv_cache_in_Mb="1200" preallocate_subdiv_cache="0" ray_detail_region="1" ray_detail_region_padding="0" GI_prepass_padding="0" render_layer="" output_image_filename="C:\Users\Kliber2000\Documents\temp.%04d.bmp" extra_output_images="0" extra_output_image_filename="C:\Users\Kliber2000\Documents\temp.IMAGETYPE.%04d.bmp" create_subfolders="1" micro_exporter="0" micro_exporter_name="" sequence_first="1" sequence_last="100" sequence_step="1">
		
		
		
		
	<render_bucket_controls name="Render bucket controls 01" gui_use_node_pos="1" gui_node_pos="1200 100 0" gui_group="" max_bucket_size="256 256" allow_auto_reduction="1">
		</render_bucket_controls><render_GI_settings name="Render GI settings 01" gui_use_node_pos="1" gui_node_pos="1200 40 0" gui_group="" GI_relative_detail="1" GI_cache_detail="2.75" GI_sample_quality="2.75" GI_blur_radius="8" supersample_prepass="1" no_GI_cache_file="1" write_to_GI_cache_file="0" GI_cache_filename_to_write="" read_from_GI_cache_file="0" GI_cache_filename_to_read="" GI_cache_blend_mode="0" GI_cache_blend_range="5" GI_prepass_padding="0" GI_surface_details="1" GI_surface_details_method="1" GISD_occlusion_weight="1" GISD_bounce_weight="1" GISD_radius="24" GISD_falloff="1">
		</render_GI_settings><render_pixel_sampler name="Render pixel sampler 01" gui_use_node_pos="1" gui_node_pos="1200 -20 0" gui_group="" anti-aliasing="3" customise_sampling="0" first_sampling_level="2" pixel_noise_threshold="0.1">
		</render_pixel_sampler><render_subdiv_settings name="Render subdiv settings 01" gui_use_node_pos="1" gui_node_pos="1200 -80 0" gui_group="" fully_adaptive="1" force_all_edges="0" jitter_shading_points="1" ray_detail_multiplier="0.25" stabilise_ray_detail_in_motion="0" ray_detail_stabilisation="3">
		</render_subdiv_settings></render><group name="Lighting" gui_use_node_pos="1" gui_node_pos="1320.033423 333.557736 0" gui_group="Godray sandbox" gui_node_size="240 207.7638821 1" gui_node_colour="1 0.7299000025 0.2195000052" special_group="6" global_bookmark="1">
	</group><group name="Godray sandbox" gui_use_node_pos="1" gui_node_pos="1256.033423 772.557736 0" gui_group="" gui_node_size="1010.095194 1223.538774 1" gui_node_colour="0.2310000062 0.3203999996 1" special_group="5" global_bookmark="1">
	</group><group name="Rendering" gui_use_node_pos="1" gui_node_pos="1582.033423 309.557736 0" gui_group="Godray sandbox" gui_node_size="238.3023466 156.7366226 1" gui_node_colour="0.7372000217 0.3440000117 0.2119999975" special_group="8" global_bookmark="1">
	</group><sunlight name="Sunlight 01" gui_use_node_pos="1" gui_node_pos="1320 320 0" gui_group="Lighting" enable="1" light_surfaces="1" light_atmosphere="1" heading="8" elevation="30" colour="0.8999999762 0.9359999895 1" strength="1.8" cast_shadows="1" shadows_of_surfaces="1" shadows_of_atmosphere="1" soft_shadows="1" soft_shadow_diameter="0.8" soft_shadow_samples="11" soft_shadow_sample_jitter="1" glow_in_atmosphere="1" specular_highlights="1" visible_disc="1" angular_diameter="0.5">
	</sunlight><enviro_light name="Enviro light" gui_use_node_pos="1" gui_node_pos="1320 380 0" gui_group="Lighting" enable="1" mode="1" ambient_strength_on_surfaces="1" ambient_colour_on_surfaces="0.6499999762 0.8000000119 1" ambient_strength_in_atmosphere="1" ambient_colour_in_atmosphere="0.6499999762 0.8000000119 1" global_strength_on_surfaces="1" global_tint_on_surfaces="1 1 1" global_strength_in_atmosphere="1" global_tint_in_atmosphere="1 1 1" strength_on_surfaces="1" colour_on_surfaces="1 1 1" strength_in_atmosphere="1" colour_in_atmosphere="1 1 1">
	</enviro_light><note name="Note 01" gui_use_node_pos="1" gui_node_pos="1260 1040 0" gui_group="Godray sandbox" gui_node_size="952.0855892 557.5813164 1" gui_note_text="1. Just to be safe - delete the default atmosphere and renderer and the default lighting group.

2. Plug the last cloud into a planet&apos;s ATMOSPHERE SHADER.

3. There are two sunlights that are supposed to enhance and smooth the godrays effect. The combined sun strength is 3.6.

You may duplicate sunlights to see what happens but remember to always divide the combined power of 3.6 by the number of sunlights that you use. (for example - when using six sunlights, each sunlight has to have a strength of 0.6 to produce the same level of brightness).

4. Do not modify the HAZE cloud layer - it&apos;s there for a reason!

5. Tweak and play and use the supplied camera and renderer if you wish to obtain the same position and rays placement." gui_note_text_colour="0 0 0" gui_note_use_custom_text_size="0" gui_note_custom_text_size="10" gui_node_colour="1 1 0">
	</note><cloud_fractal_shader_v3 name="Density fractal 02" gui_use_node_pos="1" gui_node_pos="1160 500 0" gui_group="Godray sandbox" enable="1" input_node="" gui_use_preview_patch_size="1" gui_preview_patch_size="16000 16000" seed="21052" feature_scale="1500" lead-in_scale="70000" smallest_scale="1" noise_octaves="18" noise_stretch_XYZ="1 1 1" apply_high_colour="1" high_colour="1 1 1" apply_low_colour="0" low_colour="0 0 0" contrast="1" coverage_adjust="0.25" roughness="1.3" clamp_high="0" clamp_low="0" apply_displacement="0" displacement_direction="1" displacement_amplitude="1" displacement_offset="0" displacement_roughness="1" displacement_spike_limit="1" continue_spike_limit="0" adjust_coastline="0" coastline_altitude="0" coastline_smoothing="30" noise_flavour="0" ridge_smoothing="0.1" gully_smoothing="0.1" noise_variation="1" variation_method="2" buoyancy_from_variation="0" clumping_of_variation="0.25" distort_by_normal="0" distortion_by_normal="5" lead-in_warp_effect="0" lead-in_warp_amount="0.5" less_warp_at_feature_scale="1" allow_vertical_warp="1" four-d_noise="0" four-d_noise_speed="0.1" reference_frame_number="0" blend_by_shader="0" blending_shader="" fit_blendshader_to_this="0" invert_blendshader="0">
	</cloud_fractal_shader_v3><cloud_layer_v2 name="Haze (particulate medium, fog)" gui_use_node_pos="1" gui_node_pos="960 440 0" gui_group="Godray sandbox" enable="1" input_node="High Clouds" gui_use_preview_patch_size="0" gui_preview_patch_size="1000 1000" enable_primary="1" enable_secondary="1" move_textures_with_cloud="0" centre="0 -6378000 0" radius="6378000" seed="0" cloud_altitude="1031" cloud_depth="2060" local_sphere="0" local_sphere_centre="0 1031 0" local_sphere_radius="10000" local_sphere_falloff="1" local_sphere_value_at_radius="-0.5" density_shader="Density fractal 02" edge_sharpness="5" cloud_density="0.00057" coverage_adjust="0" cloud_colour="0.25 0.25 0.25" scattering_colour="0.25 0.25 0.25" sun_glow_amount="1" sun_glow_power="1" light_propagation="2" light_propagation_mix="1" fake_internal_scattering="2" enviro_light="1" enviro_light_tint="1 1 1" darker_unresolved_scattering="1" anisotropic_enviro_light="1" altitude_offset_function="" altitude_offset_multiplier="1" depth_modulator="" depth_modulator_centre="0" final_density_modulator="" direct_light_modulator="" enviro_light_modulator="" ambient_light_modulator="" shadow_function="" ambient="0 0 0" fake_dark_power="0" fake_dark_sharpness="10" improved_lighting_model="1" taper_top_and_base="1" flatter_base="0" base_wispiness="0.5" base_softness="0.5" invert_profile="0" coverage_gamma="1" rendering_method="1" quality="1.021835417" number_of_samples="26" sample_jitter="1" step_optimisation="0" enable_ray_traced_shadows="1" acceleration_cache="0" use_2D_shadow_map="0" shadow_map_resolution="200 200" shadow_map_blur_radius="2 2" use_voxel_buffer="0" voxel_buffer_resolution="100 20 100" use_voxels_to_accelerate_empty_space="1" visualise_voxels="0" use_voxels_for_shadows="1" voxel_shadow_threshold="4">
	</cloud_layer_v2><planet_atmosphere name="Atmosphere 01" gui_use_node_pos="1" gui_node_pos="960 680 0" gui_group="Godray sandbox" enable="1" input_node="" gui_use_preview_patch_size="0" gui_preview_patch_size="1000 1000" enable_primary="1" enable_secondary="1" centre="0 -6378000 0" radius="6378000" seed="0" haze_density="0.85" haze_horizon_colour="0.25 0.25 0.25" bluesky_density="2.5" bluesky_horizon_colour="0.200000003 0.25 0.3000000119" bluesky_additive="0.75" bluesky_additive_colour="0.1438666731 0.3779166639 1" redsky_decay="2.5" haze_exp_height="2000" bluesky_exp_height="8000" ceiling_adjust="7" ceiling="56000" floor="-16000" haze_glow_amount="1.5" haze_glow_power="1" bluesky_glow_amount="0" bluesky_glow_power="0.75" enviro_light="1" enviro_light_tint="1 1 1" anisotropic_enviro_light="1" shadow_function="" ambient="0 0 0" fake_dark_power="0" fake_dark_sharpness="10" bluesky_density_colour="0.2158000022 0.4535000026 1" redsky_decay_colour="0.805896461 0.6354003549 0.3678794503" improved_glow_model="1" number_of_samples="256" adjust_to_distance="1" sample_jitter="1" enable_ray_traced_shadows="0">
	</planet_atmosphere><camera name="Render Cam - Godray sandbox" gui_use_node_pos="1" gui_node_pos="1580 320 0" gui_group="Rendering" show_camera_body_in_preview="1" position="0 10 -30" rotation="24 0 0" light_exposure="1" perspective="1" fisheye="0" use_horizontal_fov="1" horizontal_fov="59.99999999" use_vertical_fov="0" vertical_fov="42.10344887" focal_length_in_mm="31.17691454" film_aperture_in_mm="36 24" orthographic="0" use_ortho_width="1" ortho_width="1000" use_ortho_height="0" ortho_height="1000" spherical="0" motion_blur_position="1" motion_blur_length="0.5" shutter_offset="-0.25" subject_distance="100" aperture_diameter_in_mm="5" import_position="1" import_rotation="1" import_fov_general="1" import_Z_up="0" import_rotation_order="4" import_vertical_FOV="1" import_focal_length="0" import_focal_length_to_FOV="0" do_not_import_FOV="0" m_fbx_convert_to_metres="1" import_offset="0 0 0" import_scale="1" import_filename="" export_filename="" stereo="0" stereo_left="1" stereo_centre="0" stereo_right="0" stereo_mode="1" inter-axial_separation_in_mm="63.5" zero_parallax_distance="2.54">
	</camera><sunlight name="Sunlight 02" gui_use_node_pos="1" gui_node_pos="1320 260 0" gui_group="Lighting" enable="1" light_surfaces="1" light_atmosphere="1" heading="8" elevation="30" colour="0.8999999762 0.9359999895 1" strength="1.8" cast_shadows="1" shadows_of_surfaces="1" shadows_of_atmosphere="1" soft_shadows="1" soft_shadow_diameter="0.8" soft_shadow_samples="11" soft_shadow_sample_jitter="1" glow_in_atmosphere="1" specular_highlights="1" visible_disc="0" angular_diameter="0.5">
	</sunlight><cloud_layer_v2 name="High Clouds" gui_use_node_pos="1" gui_node_pos="960 560 0" gui_group="Godray sandbox" enable="1" input_node="Atmosphere 01" gui_use_preview_patch_size="0" gui_preview_patch_size="1000 1000" enable_primary="1" enable_secondary="1" move_textures_with_cloud="0" centre="0 -6378000 0" radius="6378000" seed="0" cloud_altitude="2482" cloud_depth="830" local_sphere="0" local_sphere_centre="0 2482 0" local_sphere_radius="10000" local_sphere_falloff="1" local_sphere_value_at_radius="-0.5" density_shader="Density fractal 01" edge_sharpness="5" cloud_density="0.062" coverage_adjust="0.25" cloud_colour="0.25 0.25 0.25" scattering_colour="0.25 0.25 0.25" sun_glow_amount="1" sun_glow_power="1" light_propagation="2" light_propagation_mix="1" fake_internal_scattering="2" enviro_light="1" enviro_light_tint="1 1 1" darker_unresolved_scattering="1" anisotropic_enviro_light="1" altitude_offset_function="" altitude_offset_multiplier="1" depth_modulator="" depth_modulator_centre="0" final_density_modulator="" direct_light_modulator="" enviro_light_modulator="" ambient_light_modulator="" shadow_function="" ambient="0 0 0" fake_dark_power="0" fake_dark_sharpness="10" improved_lighting_model="1" taper_top_and_base="1" flatter_base="0" base_wispiness="0.5" base_softness="0.5" invert_profile="0" coverage_gamma="1" rendering_method="1" quality="1.20246071" number_of_samples="162" sample_jitter="1" step_optimisation="0" enable_ray_traced_shadows="0" acceleration_cache="0" use_2D_shadow_map="0" shadow_map_resolution="200 200" shadow_map_blur_radius="2 2" use_voxel_buffer="0" voxel_buffer_resolution="100 20 100" use_voxels_to_accelerate_empty_space="1" visualise_voxels="0" use_voxels_for_shadows="1" voxel_shadow_threshold="4">
	</cloud_layer_v2></terragen_clip>