Table of Contents

Shortnote

This is one of the default TPV presets, named Eno Would Be Proud (most likely inspired by Brian Eno) that we changed around a bit for our simulators. Given that you have made the appropriate changes on the category super-page, drop the following script into a primitive and make sure that you are using a WindLight enabled viewer.

Screenshot

Deep Blue Sky!

Code

This script was tested and works on OpenSim version 0.7.4!

deep_blue_sky.lsl
///////////////////////////////////////////////////////////////////////////
//  Copyright (C) Wizardry and Steamworks 2012 - License: GNU GPLv3      //
//  Please see: http://www.gnu.org/licenses/gpl.html for legal details,  //
//  rights of fair usage, the disclaimer and warranty conditions.        //
///////////////////////////////////////////////////////////////////////////
// Inspired from the template Eno Would Be Proud
 
default {
  state_entry() {
    integer success = lsSetWindlightScene([ WL_WATER_COLOR, <13, 97, 135>, WL_WATER_FOG_DENSITY_EXPONENT, 0.0, WL_UNDERWATER_FOG_MODIFIER, 0.25, WL_REFLECTION_WAVELET_SCALE, <2.0, 2.0, 2.0>, WL_FRESNEL_SCALE, 0.10, WL_FRESNEL_OFFSET, 0.58, WL_REFRACT_SCALE_ABOVE, 0.08, WL_REFRACT_SCALE_BELOW, 0.20, WL_BLUR_MULTIPLIER, 0.003, WL_BIG_WAVE_DIRECTION, <0.50, -0.17, 0>, WL_LITTLE_WAVE_DIRECTION, <0.58, -0.67, 0>, WL_NORMAL_MAP_TEXTURE, "822ded49-9a6c-f61c-cb89-6df54f42cdf4", WL_HAZE_HORIZON, 0.33, WL_BLUE_DENSITY, <0.13, 0.21, 0.34, 0.34>, WL_HORIZON, <0.24,0.40,0.46,0.46>, WL_DENSITY_MULTIPLIER, 0.01, WL_DISTANCE_MULTIPLIER, 0.7, WL_MAX_ALTITUDE, 711, WL_SUN_MOON_COLOR, <0.21,0.23,0.29,0.29>, WL_AMBIENT, <0.09,0.15,0.25,0.25>, WL_SUN_MOON_POSITION, 0.375, WL_EAST_ANGLE, 0.50, WL_SUN_GLOW_SIZE, 1.79, WL_SUN_GLOW_FOCUS, 0.10, WL_SCENE_GAMMA, 1.61, WL_STAR_BRIGHTNESS, 0.00, WL_CLOUD_COLOR, <0.53,0.53,0.53,0.53>, WL_CLOUD_XY_DENSITY, <0.73,0.34,0.33>, WL_CLOUD_COVERAGE, 0.26, WL_CLOUD_SCALE, 0.33, WL_CLOUD_DETAIL_XY_DENSITY, <0.29,0.85,0.02>, WL_CLOUD_SCROLL_X, 0.50, WL_CLOUD_SCROLL_Y, 0.51, WL_CLOUD_SCROLL_Y_LOCK, 0, WL_CLOUD_SCROLL_X_LOCK, 0, WL_DRAW_CLASSIC_CLOUDS, 1 ]);
    if ( success == TRUE ) {
      llOwnerSay("WindLight set.");
      return;
    }
    llOwnerSay("Failed to set WindLight.");
  }
}

opensim/windlight/deep_blue_sky.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.