-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Change Log | ||
|
||
## [1.0.0] - 2020-08-07 | ||
Initial release. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Izayoi Jiichan | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# UniShaders | ||
|
||
UniShaders is a script to get/set Unity shader parameters. | ||
|
||
___ | ||
## Shaders | ||
|
||
- Standard | ||
- Particles/Standard Surface | ||
- Particles/Standard Unlit | ||
- Skybox/6 Sided | ||
- Skybox/Cubemap | ||
- Skybox/Panoramic | ||
- Skybox/Procedural | ||
|
||
## Assembly | ||
|
||
- UniShader.Standard.Utility..dll | ||
- UniShader.Standard.Particle.Utility.dll | ||
- UniShader.Skybox.Utility.dll | ||
|
||
## Namespace | ||
|
||
- UniStandardShader | ||
- UniParticleShader | ||
- UniSkyboxShader | ||
|
||
___ | ||
Last updated: 7 August, 2020 | ||
Editor: Izayoi Jiichan | ||
|
||
*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniSkyboxShader | ||
// @Class : Keyword | ||
// ---------------------------------------------------------------------- | ||
namespace UniSkyboxShader | ||
{ | ||
/// <summary> | ||
/// Keyword | ||
/// </summary> | ||
public class Keyword | ||
{ | ||
/// <summary>Layout</summary> | ||
public const string Mapping6FramesLayout = "_MAPPING_6_FRAMES_LAYOUT"; | ||
|
||
/// <summary>SunDisk None</summary> | ||
public const string SundiskNone = "_SUNDISK_NONE"; | ||
|
||
/// <summary>SunDisk Simple</summary> | ||
public const string SundiskSimple = "_SUNDISK_SIMPLE"; | ||
|
||
/// <summary>SunDisk High Quality</summary> | ||
public const string SundiskHighQuality = "_SUNDISK_HIGH_QUALITY"; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniSkyboxShader | ||
// @Class : Property | ||
// ---------------------------------------------------------------------- | ||
namespace UniSkyboxShader | ||
{ | ||
/// <summary> | ||
/// Property | ||
/// </summary> | ||
public class Property | ||
{ | ||
/// <summary>Tint</summary> | ||
public const string Tint = "_Tint"; | ||
|
||
/// <summary>Exposure</summary> | ||
public const string Exposure = "_Exposure"; | ||
|
||
/// <summary>Rotation</summary> | ||
public const string Rotation = "_Rotation"; | ||
|
||
#region 6 Sided | ||
|
||
/// <summary>FrontTex</summary> | ||
public const string FrontTex = "_FrontTex"; | ||
|
||
/// <summary>BackTex</summary> | ||
public const string BackTex = "_BackTex"; | ||
|
||
/// <summary>LeftTex</summary> | ||
public const string LeftTex = "_LeftTex"; | ||
|
||
/// <summary>RightTex</summary> | ||
public const string RightTex = "_RightTex"; | ||
|
||
/// <summary>UpTex</summary> | ||
public const string UpTex = "_UpTex"; | ||
|
||
/// <summary>DownTex</summary> | ||
public const string DownTex = "_DownTex"; | ||
|
||
#endregion | ||
|
||
#region Cubemap | ||
|
||
/// <summary>Tex</summary> | ||
public const string Tex = "_Tex"; | ||
|
||
#endregion | ||
|
||
#region Panoramic | ||
|
||
/// <summary>MainTex</summary> | ||
public const string MainTex = "_MainTex"; | ||
|
||
/// <summary>Mapping</summary> | ||
public const string Mapping = "_Mapping"; | ||
|
||
/// <summary>ImageType</summary> | ||
public const string ImageType = "_ImageType"; | ||
|
||
/// <summary>MirrorOnBack</summary> | ||
public const string MirrorOnBack = "_MirrorOnBack"; | ||
|
||
/// <summary>Layout</summary> | ||
public const string Layout = "_Layout"; | ||
|
||
#endregion | ||
|
||
#region Procedural | ||
|
||
/// <summary></summary> | ||
public const string SunDisk = "_SunDisk"; | ||
|
||
/// <summary></summary> | ||
public const string SunSize = "_SunSize"; | ||
|
||
/// <summary></summary> | ||
public const string SunSizeConvergence = "_SunSizeConvergence"; | ||
|
||
/// <summary></summary> | ||
public const string AtmosphereThickness = "_AtmosphereThickness"; | ||
|
||
/// <summary></summary> | ||
public const string SkyTint = "_SkyTint"; | ||
|
||
/// <summary></summary> | ||
public const string GroundColor = "_GroundColor"; | ||
|
||
#endregion | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniSkyboxShader | ||
// @Class : ShaderName | ||
// ---------------------------------------------------------------------- | ||
namespace UniSkyboxShader | ||
{ | ||
/// <summary> | ||
/// Shader Name | ||
/// </summary> | ||
public class ShaderName | ||
{ | ||
/// <summary>Skybox/6 Sided</summary> | ||
public const string Skybox_6_Sided = "Skybox/6 Sided"; | ||
|
||
/// <summary>Skybox/Cubemap</summary> | ||
public const string Skybox_Cubemap = "Skybox/Cubemap"; | ||
|
||
/// <summary>Skybox/Panoramic</summary> | ||
public const string Skybox_Panoramic = "Skybox/Panoramic"; | ||
|
||
/// <summary>Skybox/Procedural</summary> | ||
public const string Skybox_Procedural = "Skybox/Procedural"; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniSkyboxShader | ||
// @Class : Tag | ||
// ---------------------------------------------------------------------- | ||
namespace UniSkyboxShader | ||
{ | ||
/// <summary> | ||
/// Tag | ||
/// </summary> | ||
public class Tag | ||
{ | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniSkyboxShader | ||
// @Class : Skybox6SidedDefinition | ||
// ---------------------------------------------------------------------- | ||
namespace UniSkyboxShader | ||
{ | ||
using UnityEngine; | ||
|
||
/// <summary> | ||
/// Skybox 6 Sided Definition | ||
/// </summary> | ||
public class Skybox6SidedDefinition | ||
{ | ||
/// <summary>Tint Color</summary> | ||
public Color Tint { get; set; } | ||
|
||
/// <summary>Exposure</summary> | ||
//[Range(0.0f, 8.0f)] | ||
public float Exposure { get; set; } | ||
|
||
/// <summary>Rotation</summary> | ||
//[Range(0f, 360f)] | ||
public int Rotation { get; set; } | ||
|
||
/// <summary>Front [+Z] (HDR)</summary> | ||
public Texture2D FrontTex { get; set; } | ||
|
||
/// <summary>Back [-Z] (HDR)</summary> | ||
public Texture2D BackTex { get; set; } | ||
|
||
/// <summary>Left [+X] (HDR)</summary> | ||
public Texture2D LeftTex { get; set; } | ||
|
||
/// <summary>Right [-X] (HDR)</summary> | ||
public Texture2D RightTex { get; set; } | ||
|
||
/// <summary>Up [+Y] (HDR)</summary> | ||
public Texture2D UpTex { get; set; } | ||
|
||
/// <summary>Down [-Y] (HDR)</summary> | ||
public Texture2D DownTex { get; set; } | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.