Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
izayoijiichan committed Aug 7, 2020
1 parent c9d429c commit e7c4aac
Show file tree
Hide file tree
Showing 107 changed files with 3,419 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Change Log

## [1.0.0] - 2020-08-07
Initial release.
7 changes: 7 additions & 0 deletions CHANGELOG.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions LICENSE.md
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.
7 changes: 7 additions & 0 deletions LICENSE.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions README.md
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.*
7 changes: 7 additions & 0 deletions README.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Runtime.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Runtime/UniShaderSkyboxUtility.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/Keyword.cs
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";
}
}
11 changes: 11 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/Keyword.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 91 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/Property.cs
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
}
}
11 changes: 11 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/Property.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/ShaderName.cs
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";
}
}
11 changes: 11 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/ShaderName.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/Tag.cs
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
{
}
}
11 changes: 11 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Defines/Tag.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Runtime/UniShaderSkyboxUtility/Definitions.meta

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.

Loading

0 comments on commit e7c4aac

Please sign in to comment.