资源简介
Unity内置着色器程序。对应Unity的版本是2018.1.0f2
官方正品!
代码片段和文件信息
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace UnityEditor
{
internal class StandardParticlesShaderGUI : ShaderGUI
{
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
Additive
Subtractive
Modulate
}
public enum FlipbookMode
{
Simple
Blended
}
public enum ColorMode
{
Multiply
Additive
Subtractive
Overlay
Color
Difference
}
private static class styles
{
public static GUIContent albedoText = EditorGUIUtility.TrTextContent(“Albedo“ “Albedo (RGB) and Transparency (A).“);
public static GUIContent alphaCutoffText = EditorGUIUtility.TrTextContent(“Alpha Cutoff“ “Threshold for alpha cutoff.“);
public static GUIContent metallicMapText = EditorGUIUtility.TrTextContent(“metallic“ “metallic (R) and Smoothness (A).“);
public static GUIContent smoothnessText = EditorGUIUtility.TrTextContent(“Smoothness“ “Smoothness value.“);
public static GUIContent smoothnessScaleText = EditorGUIUtility.TrTextContent(“Smoothness“ “Smoothness scale factor.“);
public static GUIContent normalMapText = EditorGUIUtility.TrTextContent(“Normal Map“ “Normal Map.“);
public static GUIContent emissionText = EditorGUIUtility.TrTextContent(“Color“ “Emission (RGB).“);
public static GUIContent renderingMode = EditorGUIUtility.TrTextContent(“Rendering Mode“ “Determines the transparency and blending method for drawing the object to the screen.“);
public static GUIContent[] blendNames = Array.ConvertAll(Enum.GetNames(typeof(BlendMode)) item => new GUIContent(item));
public static GUIContent colorMode = EditorGUIUtility.TrTextContent(“Color Mode“ “Determines the blending mode between the particle color and the texture albedo.“);
public static GUIContent[] colorNames = Array.ConvertAll(Enum.GetNames(typeof(ColorMode)) item => new GUIContent(item));
public static GUIContent flipbookMode = EditorGUIUtility.TrTextContent(“Flip-Book Mode“ “Determines the blending mode used for animated texture sheets.“);
public static GUIContent[] flipbookNames = Array.ConvertAll(Enum.GetNames(typeof(FlipbookMode)) item => new GUIContent(item));
public static GUIContent twoSidedEnabled = EditorGUIUtility.TrTextContent(“Two Sided“ “Render both front and back faces of the particle geometry.“);
public static GUIContent distort
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-27 20:02 CGIncludes\
文件 15380 2018-04-27 20:05 CGIncludes\AutoLight.cginc
文件 1741 2018-04-27 20:05 CGIncludes\GLSLSupport.glslinc
文件 42823 2018-04-27 20:05 CGIncludes\HLSLSupport.cginc
文件 4836 2018-04-27 20:05 CGIncludes\Lighting.cginc
文件 3484 2018-04-27 20:05 CGIncludes\SpeedTreeBillboardCommon.cginc
文件 4094 2018-04-27 20:05 CGIncludes\SpeedTreeCommon.cginc
文件 5183 2018-04-27 20:05 CGIncludes\SpeedTreeVertex.cginc
文件 23250 2018-04-27 20:05 CGIncludes\SpeedTreeWind.cginc
文件 11873 2018-04-27 20:05 CGIncludes\TerrainEngine.cginc
文件 3889 2018-04-27 20:05 CGIncludes\TerrainSplatmapCommon.cginc
文件 5390 2018-04-27 20:05 CGIncludes\Tessellation.cginc
文件 3527 2018-04-27 20:05 CGIncludes\UnityBuiltin2xTreeLibrary.cginc
文件 6037 2018-04-27 20:05 CGIncludes\UnityBuiltin3xTreeLibrary.cginc
文件 42756 2018-04-27 20:05 CGIncludes\UnityCG.cginc
文件 3742 2018-04-27 20:05 CGIncludes\UnityCG.glslinc
文件 7488 2018-04-27 20:05 CGIncludes\UnityCustomRenderTexture.cginc
文件 6636 2018-04-27 20:05 CGIncludes\UnityDeferredLibrary.cginc
文件 5466 2018-04-27 20:05 CGIncludes\UnityDeprecated.cginc
文件 2409 2018-04-27 20:05 CGIncludes\UnityGBuffer.cginc
文件 10003 2018-04-27 20:05 CGIncludes\UnityGlobalIllumination.cginc
文件 21217 2018-04-27 20:05 CGIncludes\UnityImageba
文件 18432 2018-04-27 20:05 CGIncludes\UnityInstancing.cginc
文件 1389 2018-04-27 20:05 CGIncludes\UnityLightingCommon.cginc
文件 8715 2018-04-27 20:05 CGIncludes\Unityme
文件 7939 2018-04-27 20:05 CGIncludes\UnityPBSLighting.cginc
文件 2043 2018-04-27 20:05 CGIncludes\UnityShaderUtilities.cginc
文件 11811 2018-04-27 20:05 CGIncludes\UnityShaderVariables.cginc
文件 43184 2018-04-27 20:05 CGIncludes\UnityShadowLibrary.cginc
文件 2306 2018-04-27 20:05 CGIncludes\UnitySprites.cginc
文件 17717 2018-04-27 20:05 CGIncludes\UnityStandardBRDF.cginc
............此处省略216个文件信息
- 上一篇:测力计系统测试程序labview
- 下一篇:TFTP客户端 文件上传/实现
相关资源
- 最新版U3D TreeView.unitypackage
- VRGUI.unitypackage
- shaderX1-7和GPU Pro1-5
- QT5.9.2+OpenGL,使用最新的QOpenGLWidget框
- Unity 4.x Pro Patch(亲测可用,附使用说
- unity多人联网
- unity3d天空盒子
- Mirrors2.unitypackage
- Unity Shader镜子
- Unity类似CS射击游戏源码可实现多人联
- unity鼠标点击3D物体响应事件
- GDGeek工具集
- Unity LitJson.dll
- OpenCVForUnity2.2.4
- Unity3D三维立体相机
- OpenGL-- Shader 颜色 光照 5 多光源 基础
- unity 末日丧尸场景 内含丧尸模型
- Unity3D男孩FBX模型
- Unity3D 5.5.x及其以下的补丁
- DOTween Pro.unitypackage
- EasyTouch5.012 官方API手册 for Unity3d5.0X
- 3D游戏与计算机图形学中的数学方法
- Unity.zip
- Unity 消灭病毒游戏源码含详细的教程
- ios-native-popup-using-unity-master.zip
- unity AssetBundle 框架
- unity shader 入门精要 高清完整版PDF
- Virtualizing Tree View - 自购稀缺Unity资源
- UnityGridSheet.zip
- Unity3D Flick Basketball 篮球游戏 完整源码
评论
共有 条评论