浏览代码

Changed the renderer so the shader i did won't be needed anymore

/main
Eduardo de Albuquerque 4 年前
当前提交
0cbe6635
共有 5 个文件被更改,包括 3 次插入122 次删除
  1. 6
      UOP1_Project/Assets/Settings/Graphics/ToonRendererData.asset
  2. 13
      UOP1_Project/Assets/DepthMask.shader
  3. 9
      UOP1_Project/Assets/DepthMask.shader.meta
  4. 89
      UOP1_Project/Assets/Mask.mat
  5. 8
      UOP1_Project/Assets/Mask.mat.meta

6
UOP1_Project/Assets/Settings/Graphics/ToonRendererData.asset


stencilSettings:
overrideStencilState: 1
stencilReference: 5
stencilCompareFunction: 8
passOperation: 2
failOperation: 0
stencilCompareFunction: 1
passOperation: 0
failOperation: 2
zFailOperation: 0
cameraSettings:
overrideCamera: 0

13
UOP1_Project/Assets/DepthMask.shader


Shader "UOP1/DepthMask"
{
SubShader{
// Don't draw in the RGBA channels
ColorMask 0
// Don't write in the Depth Buffer
ZWrite Off
// Do nothing specific in the pass
Pass {}
}
}

9
UOP1_Project/Assets/DepthMask.shader.meta


fileFormatVersion: 2
guid: 966831bb8ca4062478655a12411bc65d
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

89
UOP1_Project/Assets/Mask.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Mask
m_Shader: {fileID: 4800000, guid: 966831bb8ca4062478655a12411bc65d, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
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}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &3656208033693670825
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 2

8
UOP1_Project/Assets/Mask.mat.meta


fileFormatVersion: 2
guid: 149492f8fee68c6479dfe0383923d49e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存