Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssShader Dynamic Sky (shader_dynamic_sky)

Category:script
Author(s):Ren712
Downloads:22062
Rate:You need to be logged in to vote
Rating:3.8 (50 Votes)
Description:
resource: Shader Dynamic Sky v2.2.2
author: Ren712

cooperative resources:
waterShine: https://community.multitheftauto.com/index.php?p=resources..mp;id=7945
waterRefract:https://community.multitheftauto.com/index.php?p=resources..p;id=11394
waterRefractTest3:https://community.multitheftauto.com/index.php?p=resources..p;id=11664
waterRefractTest4:https://community.multitheftauto.com/index.php?p=resources..p;id=11780
pedNormal: https://community.multitheftauto.com/index.php?p=resources..mp;id=7665

Description:
This resource adds a dynamic sky for your MTA.
The sun and moon positions depend on the ingame time.
Current (based on server time) moon phase is counted
on resource start.
The night sky created with spacescape-0.3.

Download latest version | Report

Version history

Version Publish Date Changes
2.2.2 2018-05-28 20:53:42 -Added object alpha flag to settings
-Reenabled cloudmasked texture
Download
2.2.1 2018-05-28 19:58:44 -Setting pixel depth to farClipDistance
-Change object id to 2070 (unused)
Download
2.2.0 2018-03-21 19:27:05 -Fixed a typo introduced in 2.18 : The effect is switched on/off properly Download
2.1.9 2018-03-18 21:49:51 -Added stratosBottomStars variable in settings Download
2.1.8 2018-03-10 17:37:15 -Set ZWriteEnable = false for the sphere object
-Changed the interpolation code for clouds near horizon
-The bottom clouds are shown at lower height
-The effect is switched back on after being disabled by foggy weather
Download
2.1.7 2015-07-10 16:55:45 -Added moon 'shine through clouds' multiplier
-Disabled moon aura
Download
2.1.6 2015-06-12 01:03:54 -Prevent object disappearing while entering boat Download
2.1.5 2015-06-11 23:33:54 -Prevent object shaking Download
2.1.4 2015-04-30 22:04:07 -Fixed a typo Download
2.1.3 2015-04-30 21:41:03 -Fixed error: clouds disappearing after switching Download
2.1.2 2015-04-07 10:10:37 -configured the effect (messed up in previous version) Download
2.1.1 2015-04-06 22:49:56 -added enableHorizonBlending variable Download
2.1.0 2015-04-03 21:17:08 -Minor updates for external resource support Download
2.0.9 2015-03-29 00:34:37 -Slowed down clouds movement on xy position change Download
2.0.8 2015-03-27 00:00:59 -Added isDynamicSkyEnabled exported function
-The effects adapt to gFogStart when camera is in water
Download
2.0.7 2015-03-20 18:12:41 -Fixed a typo in moon sphere rotation code
-added getDynamicMoonVector and getMoonPhaseValue exported functions
Download
2.0.6 2015-03-20 00:13:55 -Changed object size factor from fogEnd to farClip
-Minor changes in depthBias values between effect layers
-Moon vector is now properly set
Download
2.0.5 2015-03-15 20:36:16 -Fixed 'stars shining through the moon' bug. Download
2.0.4 2015-03-13 23:12:35 -Divided the effects into 2 shaders (saves some more frames)
-Different technique for moon
Download
2.0.3 2015-03-12 01:48:50 -added a bottom cloud effect (it's applied when camera.z reaches farClipDistance)
-fixed effect not reappearing after camera was in water, added alpha fading
-improved framerate a bit by exporting some shader calculations to vertex shader
-rescaled the cloud texture to 768x768
Download
2.0.2 2015-03-11 13:43:40 -inverted normalMap Download
2.0.1 2015-03-11 13:38:57 -all object resources are destroyed on clientResourceStop Download
2.0.0 2015-03-10 23:30:06 -rewritten moon phase algorithm (uses MTA 1.4 increased precision of floating-points)
-rewritten weather settings
-added a proper timer for sky rotation
-3 pass shader effect written from scratch
-added cloud normal mapping effects
-stratosphere effect at defined height
-added getDynamicSunVector exported function
Download
0.82.0 2014-02-11 17:02:59 - Added the isFogEnabled bool to switch the horizon blending
- Reconfigured the fade distance
- Reworked some possible alpha issues
Download
0.81.0 2013-10-22 03:04:02 -Changed the fading method to prevent horizon flickering. [ I hate GTASA engine ] Download
0.80.0 2013-10-22 02:12:15 -Fixed potential drawing moon bug (for some GFX cards) Download
0.79.0 2013-10-22 01:47:46 -Applied IgorRodriguesCo's suggestions:
-Slowed down cloud movement
-The effects fades gradually and blends with horizon
-The effect is not visible below the camera
Download
0.78.0 2013-10-21 06:31:25 -Changed moon and clouds textures
-You can switch the effect /sDynamicSky
Download
0.76.0 2013-07-23 18:41:20 -The effect draws properly on higher range. Download
0.75.0 2013-07-16 22:25:19 -Minor tweaks to the effect file
-Fixed a potential bug in phase counting algorithm
Download
0.73.0 2013-04-02 23:53:44 Added variables to control ingame clouds, in effect clouds,
some rotation variables. Fixed effect not showing night sky
on some graphics cards.
Download
0.72.0 2013-03-31 23:34:10 Cleaned up the effect file. Download
0.71.0 2013-03-31 23:22:41 Added a proper rotation angle variable. Download
0.7.0 2013-03-31 23:00:51 First public release Download