-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from Delt06/custom-shader-creator
Custom shader creator
- Loading branch information
Showing
58 changed files
with
1,967 additions
and
214 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!21 &2100000 | ||
Material: | ||
serializedVersion: 8 | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: DELTation_Custom_Custom Toon Shader | ||
m_Shader: {fileID: 4800000, guid: 2e0a54ed13173b14898a9bf0e10092da, type: 3} | ||
m_ValidKeywords: | ||
- _ADDITIONAL_LIGHTS_ENABLED | ||
- _ENVIRONMENT_LIGHTING_ENABLED | ||
- _FOG | ||
m_InvalidKeywords: | ||
- _ZWRITE_ON | ||
m_LightmapFlags: 4 | ||
m_EnableInstancingVariants: 0 | ||
m_DoubleSidedGI: 0 | ||
m_CustomRenderQueue: -1 | ||
stringTagMap: {} | ||
disabledShaderPasses: [] | ||
m_SavedProperties: | ||
serializedVersion: 3 | ||
m_TexEnvs: | ||
- _BaseMap: | ||
m_Texture: {fileID: 2800000, guid: 6f801cb597fd08f4ca3336f392517f0a, type: 3} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _BumpMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _CustomTexture: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _RampMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Ints: [] | ||
m_Floats: | ||
- _AdditionalLights: 1 | ||
- _AdditionalLightsSpecular: 0 | ||
- _AlphaClip: 0 | ||
- _AnisoSpecular: 0 | ||
- _Blend: 0 | ||
- _Cull: 0 | ||
- _Cutoff: 0.5 | ||
- _DstBlend: 0 | ||
- _Emission: 0 | ||
- _EnvironmentLightingEnabled: 1 | ||
- _Fog: 1 | ||
- _Fresnel: 0 | ||
- _FresnelSmoothness: 0.1 | ||
- _FresnelThickness: 0.45 | ||
- _PureShadowColor: 0 | ||
- _QueueOffset: 0 | ||
- _Ramp0: 0 | ||
- _Ramp1: 0.5 | ||
- _RampSmoothness: 0.005 | ||
- _RampTriple: 0 | ||
- _ReflectionBlend: 0.5 | ||
- _ReflectionProbes: 0 | ||
- _ReflectionSmoothness: 0.5 | ||
- _Reflections: 0 | ||
- _ShadowMask: 0 | ||
- _Specular: 0 | ||
- _SpecularExponent: 200 | ||
- _SpecularSmoothness: 0.025 | ||
- _SpecularThreshold: 0.8 | ||
- _SrcBlend: 1 | ||
- _Surface: 0 | ||
- _UseRampMap: 0 | ||
- _VertexColor: 0 | ||
- _ZWrite: 1 | ||
m_Colors: | ||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _CustomTint: {r: 0, g: 0, b: 0, a: 0} | ||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0} | ||
- _FresnelColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _ShadowTint: {r: 0, g: 0, b: 0, a: 1} | ||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1} | ||
m_BuildTextureStacks: [] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: 9d6cd861481d4b55b3652478146d0b38, type: 3} | ||
m_Name: My Toon Shader | ||
m_EditorClassIdentifier: | ||
SourceShader: {fileID: 4800000, guid: 849dc4ff793a3f943ad21a3b6ee26456, type: 3} | ||
Shader: {fileID: 4800000, guid: 2e0a54ed13173b14898a9bf0e10092da, type: 3} | ||
ShaderName: Custom Toon Shader | ||
Properties: | ||
- Name: _CustomTexture | ||
DisplayName: Custom Texture | ||
TypedValue: | ||
Type: 2 | ||
IntegerValue: 0 | ||
FloatValue: 0 | ||
TextureValue: 1 | ||
RangeMinValue: 0 | ||
RangeMaxValue: 0 | ||
RangeValue: 0 | ||
VectorValue: {x: 0, y: 0, z: 0, w: 0} | ||
ColorValue: {r: 0, g: 0, b: 0, a: 0} | ||
Attributes: | ||
- NoTilingOffset | ||
- Name: _CustomTint | ||
DisplayName: Custom Tint | ||
TypedValue: | ||
Type: 7 | ||
IntegerValue: 0 | ||
FloatValue: 0 | ||
TextureValue: 0 | ||
RangeMinValue: 0 | ||
RangeMaxValue: 0 | ||
RangeValue: 0 | ||
VectorValue: {x: 0, y: 0, z: 0, w: 0} | ||
ColorValue: {r: 1, g: 1, b: 1, a: 1} | ||
Attributes: [] | ||
Hooks: | ||
- Name: 0 | ||
Condition: | ||
Code: float4 _CustomTint; | ||
- Name: 1 | ||
Condition: | ||
Code: 'TEXTURE2D(_CustomTexture); | ||
SAMPLER(sampler_CustomTexture);' | ||
- Name: 2 | ||
Condition: | ||
Code: albedo *= SAMPLE_TEXTURE2D(_CustomTexture, sampler_CustomTexture, input.uv); | ||
- Name: 3 | ||
Condition: | ||
Code: input.uv += sin(_Time.y*10) * 0.01; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.