• 大小: 11.43MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-07
  • 语言: 其他
  • 标签: unity  体素  

资源简介

Marvelous Techniques is a asset package which includes tools to make powerful games with very popular flat atmospheric graphics style used in many top selling games recently.
The package suits for all people with every skill level.
Prototyping of different game styles is fast thanks to easy to use shaders and tools.
This asset package is unique and you can't find anything similar from the Asset Store. When purchased you don't only get the package you get premium support so all your problems wi

资源截图

代码片段和文件信息

using System;
using UnityEditor;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
    [CustomEditor(typeof (Antialiasing))]
    public class AntialiasingEditor : Editor
    {
        private Serializedobject serObj;

        private SerializedProperty mode;

        private SerializedProperty showGeneratedNormals;
        private SerializedProperty offsetScale;
        private SerializedProperty blurRadius;
        private SerializedProperty dlaaSharp;

        private SerializedProperty edgeThresholdMin;
        private SerializedProperty edgeThreshold;
        private SerializedProperty edgeSharpness;


        private void OnEnable()
        {
            serObj = new Serializedobject(target);

            mode = serObj.FindProperty(“mode“);

            showGeneratedNormals = serObj.FindProperty(“showGeneratedNormals“);
            offsetScale = serObj.FindProperty(“offsetScale“);
            blurRadius = serObj.FindProperty(“blurRadius“);
            dlaaSharp = serObj.FindProperty(“dlaaSharp“);

            edgeThresholdMin = serObj.FindProperty(“edgeThresholdMin“);
            edgeThreshold = serObj.FindProperty(“edgeThreshold“);
            edgeSharpness = serObj.FindProperty(“edgeSharpness“);
        }


        public override void OnInspectorGUI()
        {
            serObj.Update();

            GUILayout.Label(“Luminance based fullscreen antialiasing“ Editorstyles.miniBoldLabel);

            EditorGUILayout.PropertyField(mode new GUIContent(“Technique“));

            Material mat = (target as Antialiasing).CurrentAAMaterial();
            if (null == mat && (target as Antialiasing).enabled)
            {
                EditorGUILayout.HelpBox(“This AA technique is currently not supported. Choose a different technique or disable the effect and use MSAA instead.“ MessageType.Warning);
            }

            if (mode.enumValueIndex == (int) AAMode.NFAA)
            {
                EditorGUILayout.PropertyField(offsetScale new GUIContent(“Edge Detect Ofs“));
                EditorGUILayout.PropertyField(blurRadius new GUIContent(“Blur Radius“));
                EditorGUILayout.PropertyField(showGeneratedNormals new GUIContent(“Show Normals“));
            }
            else if (mode.enumValueIndex == (int) AAMode.DLAA)
            {
                EditorGUILayout.PropertyField(dlaaSharp new GUIContent(“Sharp“));
            }
            else if (mode.enumValueIndex == (int) AAMode.FXAA3Console)
            {
                EditorGUILayout.PropertyField(edgeThresholdMin new GUIContent(“Edge Min Threshhold“));
                EditorGUILayout.PropertyField(edgeThreshold new GUIContent(“Edge Threshhold“));
                EditorGUILayout.PropertyField(edgeSharpness new GUIContent(“Edge Sharpness“));
            }

            serObj.ApplyModifiedProperties();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        263  2016-03-28 19:02  Marvelous Techniques\.gitignore

     文件       2873  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\AntialiasingEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\AntialiasingEditor.cs.meta

     文件       7741  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\BloomAndFlaresEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\BloomAndFlaresEditor.cs.meta

     文件       8019  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\BloomEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\BloomEditor.cs.meta

     文件       4167  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\CameraMotionblurEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\CameraMotionblurEditor.cs.meta

     文件       4424  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\ColorCorrectionCurvesEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\ColorCorrectionCurvesEditor.cs.meta

     文件       3645  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\ColorCorrectionLookupEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\ColorCorrectionLookupEditor.cs.meta

     文件       7119  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\DepthOfFieldDeprecatedEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\DepthOfFieldDeprecatedEditor.cs.meta

     文件       4383  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\DepthOfFieldEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\DepthOfFieldEditor.cs.meta

     文件       2460  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\EdgeDetectionEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\EdgeDetectionEditor.cs.meta

     文件       4641  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\NoiseAndGrainEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\NoiseAndGrainEditor.cs.meta

     文件       4409  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\SunShaftsEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\SunShaftsEditor.cs.meta

     文件       4511  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\TonemappingEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\TonemappingEditor.cs.meta

     文件       2854  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\VignetteAndChromaticAberrationEditor.cs

     文件        198  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects\VignetteAndChromaticAberrationEditor.cs.meta

     文件        192  2016-03-28 19:03  Marvelous Techniques\Assets\Editor\ImageEffects.meta

     文件        192  2016-03-28 19:03  Marvelous Techniques\Assets\Editor.meta

     文件     371522  2016-03-28 19:06  Marvelous Techniques\Assets\MarvelousTechniques\Documentation\MarvelousTechniques.pdf

............此处省略1369个文件信息

评论

共有 条评论