资源简介
Unity内置着色器源码 版本: builtin_shaders-5.6.7f1.zip
代码片段和文件信息
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
using System;
using UnityEngine;
namespace UnityEditor
{
internal class StandardShaderGUI : ShaderGUI
{
private enum WorkflowMode
{
Specular
metallic
Dielectric
}
public enum BlendMode
{
Opaque
Cutout
Fade // Old school alpha-blending mode fresnel does not affect amount of transparency
Transparent // Physically plausible transparency mode implemented as alpha pre-multiply
}
public enum SmoothnessMapChannel
{
SpecularmetallicAlpha
AlbedoAlpha
}
private static class styles
{
public static GUIContent uvSetLabel = new GUIContent(“UV Set“);
public static GUIContent albedoText = new GUIContent(“Albedo“ “Albedo (RGB) and Transparency (A)“);
public static GUIContent alphaCutoffText = new GUIContent(“Alpha Cutoff“ “Threshold for alpha cutoff“);
public static GUIContent specularMapText = new GUIContent(“Specular“ “Specular (RGB) and Smoothness (A)“);
public static GUIContent metallicMapText = new GUIContent(“metallic“ “metallic (R) and Smoothness (A)“);
public static GUIContent smoothnessText = new GUIContent(“Smoothness“ “Smoothness value“);
public static GUIContent smoothnessScaleText = new GUIContent(“Smoothness“ “Smoothness scale factor“);
public static GUIContent smoothnessMapChannelText = new GUIContent(“Source“ “Smoothness texture and channel“);
public static GUIContent highlightsText = new GUIContent(“Specular Highlights“ “Specular Highlights“);
public static GUIContent reflectionsText = new GUIContent(“Reflections“ “Glossy Reflections“);
public static GUIContent normalMapText = new GUIContent(“Normal Map“ “Normal Map“);
public static GUIContent heightMapText = new GUIContent(“Height Map“ “Height Map (G)“);
public static GUIContent occlusionText = new GUIContent(“Occlusion“ “Occlusion (G)“);
public static GUIContent emissionText = new GUIContent(“Color“ “Emission (RGB)“);
public static GUIContent detailMaskText = new GUIContent(“Detail Mask“ “Mask for Secondary Maps (A)“);
public static GUIContent detailAlbedoText = new GUIContent(“Detail Albedo x2“ “Albedo (RGB) multiplied by 2“);
public static GUIContent detailNormalMapText = new GUIContent(“Normal Map“ “Normal Map“);
public static string primaryMapsText = “Main Maps“;
public static string secondaryMapsText = “Secondary Maps“;
public static string forwardText = “Forward Rendering Options“;
public static string renderingMode = “Rendering Mode“;
public static string advancedText = “Advanced Options“;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-02-25 13:49 CGIncludes\
文件 12725 2019-02-25 13:57 CGIncludes\AutoLight.cginc
文件 1741 2019-02-25 13:57 CGIncludes\GLSLSupport.glslinc
文件 34256 2019-02-25 13:57 CGIncludes\HLSLSupport.cginc
文件 4807 2019-02-25 13:57 CGIncludes\Lighting.cginc
文件 3537 2019-02-25 13:57 CGIncludes\SpeedTreeBillboardCommon.cginc
文件 4147 2019-02-25 13:57 CGIncludes\SpeedTreeCommon.cginc
文件 5183 2019-02-25 13:57 CGIncludes\SpeedTreeVertex.cginc
文件 23250 2019-02-25 13:57 CGIncludes\SpeedTreeWind.cginc
文件 11873 2019-02-25 13:57 CGIncludes\TerrainEngine.cginc
文件 3889 2019-02-25 13:57 CGIncludes\TerrainSplatmapCommon.cginc
文件 5390 2019-02-25 13:57 CGIncludes\Tessellation.cginc
文件 3527 2019-02-25 13:57 CGIncludes\UnityBuiltin2xTreeLibrary.cginc
文件 4738 2019-02-25 13:57 CGIncludes\UnityBuiltin3xTreeLibrary.cginc
文件 38494 2019-02-25 13:57 CGIncludes\UnityCG.cginc
文件 3561 2019-02-25 13:57 CGIncludes\UnityCG.glslinc
文件 7488 2019-02-25 13:57 CGIncludes\UnityCustomRenderTexture.cginc
文件 6689 2019-02-25 13:57 CGIncludes\UnityDeferredLibrary.cginc
文件 5465 2019-02-25 13:57 CGIncludes\UnityDeprecated.cginc
文件 2409 2019-02-25 13:57 CGIncludes\UnityGBuffer.cginc
文件 10002 2019-02-25 13:57 CGIncludes\UnityGlobalIllumination.cginc
文件 21217 2019-02-25 13:57 CGIncludes\UnityImageba
文件 10220 2019-02-25 13:57 CGIncludes\UnityInstancing.cginc
文件 1389 2019-02-25 13:57 CGIncludes\UnityLightingCommon.cginc
文件 8167 2019-02-25 13:57 CGIncludes\Unityme
文件 8039 2019-02-25 13:57 CGIncludes\UnityPBSLighting.cginc
文件 703 2019-02-25 13:57 CGIncludes\UnityShaderUtilities.cginc
文件 11338 2019-02-25 13:57 CGIncludes\UnityShaderVariables.cginc
文件 10619 2019-02-25 13:57 CGIncludes\UnityShadowLibrary.cginc
文件 2133 2019-02-25 13:57 CGIncludes\UnitySprites.cginc
文件 17532 2019-02-25 13:57 CGIncludes\UnityStandardBRDF.cginc
............此处省略186个文件信息
相关资源
- Oculus SDK 开发必备 OculusIntegration_1.39
- Unity内置着色器源码 builtin_shaders-201
- Unity4.x从入门到精通课本及源码
- Shader编程教程 完整
- Unity3d视频教程
- FXMaker1.5支持最新unity5
- Unity 3D ShaderLab开发实战详解
- 百度语音识别 Unity插件
- Unity插件 Scratch Card 1.6 刮刮卡/刮刮乐
- Unity Asset Bundle Browser tool.unitypackage
- Unity本地保存插件Easy Save
- 《Unity 5.x 完全自学手册》配书资源地
- DOTween Pro 1.0.165 游戏可视化编辑器扩展
- Unity UGUI ui上显示3D模型游戏物体
- [手游] Unity3D《最后一战》全套完整源
- unity官方Stealth 游戏开发素材和游戏源
- FastLineRendererforUnity-GPULineandParticleSys
- ArchVizPRO Interior Vol6室内外下雨
- 小旅馆Horror Environment Pack 2
- 博物馆Museum VR Ancient Cultures Edition I
- UnityAssetsExplorer 1.5
- unity2018破解,unipatcher2018.7z
- Unity3D_4.x_5.x全系列通用一键破解工具
- unity箭头路径指示器插件Procedural Ind
- sprite slicer
- A Dynamic Model for Check-in Behavior in Micro
- SUIMONO Water System v2.1.6最新版
- unity 手机(包含安卓及IOS)蓝牙例程
- 2DDL Pro 2D Dynamic Lights and Shadows v1.4.13
- I2 Localization 2.8.12 f1.unitypackage
评论
共有 条评论