#NVJOB Dynamic Sky Lite (standard render)



Simple and fast sky shader.
The asset includes two shaders and a simple script.
This is not just a static skybox, but a dynamic sky (clouds move and change shape) that can be customized for any task. You can create any sky, under different weather, day and night sky, or even make a fantasy sky.

Only Built-in Render Pipeline.
For Unity version of at least 2019.1.8 (64-bit)
Current version 2.3
Download from Unity Asset Store Download from GitHub Archive of previous versions Report a Problem / Issue Tracker / FAQ

Information

This shader does not work with SRP (HDRP, URP)!
There is an example in the asset that allows you to quickly understand how to use the "sky" in your project. For the shader to work properly, a dome model with prepared UV is required (model of the dome is in the asset).

The movement of clouds is carried out using global shader variables: _SkyShaderUvX, _SkyShaderUvZ.
_SkyShaderUvX, _SkyShaderUvZ - Offset main texture (Sky shader).

using UnityEngine; public class DynamicSkyLite : MonoBehaviour { public float ssgUvRotateSpeed = 1; public float ssgUvRotateDistance = 1; public Transform player; Vector2 ssgVector; Transform tr; private void Awake() { ssgVector = Vector2.zero; tr = transform; } void Update() { ssgVector = Quaternion.AngleAxis(Time.time * ssgUvRotateSpeed, Vector3.forward) * Vector2.one * ssgUvRotateDistance; Shader.SetGlobalFloat("_SkyShaderUvX", ssgVector.x); Shader.SetGlobalFloat("_SkyShaderUvZ", ssgVector.y); tr.position = new Vector3(player.position.x, tr.position.y, player.position.z); } }
#NVJOB Dynamic Sky Lite (standard render). Free Unity Asset.



#NVJOB Dynamic Sky Lite (standard render). Free Unity Asset.

#NVJOB Dynamic Sky Lite (standard render). Free Unity Asset.

#NVJOB Dynamic Sky Lite (standard render). Free Unity Asset.

#NVJOB Dynamic Sky Lite (standard render). Free Unity Asset.

License

This project is licensed under the MIT License
(C) Copyright 2016-2020 #NVJOB
Nicholas Veselov Unity Game Developer
Николай Веселов Unity Разработчик Санкт-Петербург