This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "GG/UiDistortion" | |
{ | |
Properties | |
{ | |
[NoScaleOffset] [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
[NoScaleOffset] _DistortionMask ("Distortion mask", 2D) = "white" {} | |
[Normal] _Distortion ("Distortion", 2D) = "white" {} | |
_DistortionAmount ("Distortion Amount", Range(-1, 1)) = 0.05 | |
_DistortionScrollH ("Distortion Horizontal scroll", Range(-0.5, 0.5)) = 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
namespace GG.Utils | |
{ | |
[Serializable] | |
public class FibbonachiXp | |
{ | |
//just useful value (approx) | |
public const float FIBBONACHI_MULTIPLIER = 1.618f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "GG/Chrome" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
[NoScaleOffset] _Normal ("Normal", 2D) = "bump" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
_Scale ("Scale", Range(0.0001,1)) = 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "GG/Skybox/CubemapPsychodelic" | |
{ | |
Properties | |
{ | |
_Tint("Tint Color", Color) = (.5, .5, .5, .5) | |
_Color1 ("Color1", Color) = (1, .5, .5, .5) | |
_Color2 ("Color2", Color) = (.5, .5, 1, .5) | |
[Gamma] _Exposure("Exposure", Range(0, 8)) = 1.0 | |
_Rotation("Rotation", Range(0, 360)) = 0 | |
[NoScaleOffset] _Tex("Cubemap (HDR)", Cube) = "grey" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Cubemap shader with adjustable vertical Scale/Offset and HSV color controls. | |
Creation goal was to enable user to create several casually-looking skyboxes in different colors from single image, drawn in 2d editing software. | |
Features: | |
- Doesn't requires 6-sides cubemap, or spherical projection: texture can be easily drawn in any 2d image editing software; | |
- "V Offset" option allows to move horizon line up and down with ease; | |
- "V Scale" allows to stretch texture; | |
- Rotation feature sets horizontal offset (as in original shader). | |
- HSV controls allows to change colors. |