- Bluenoise in the game INSIDE (dithering, raymarching, reflections)
- Dithering, Ray marching, shadows etc
- A Survery of Blue Noise and Its Applications
- Moments In Graphics (void-and-cluster)
- Bart Wronski Implementation of Solid Angle algorithm
| using UnityEngine; | |
| public class MeshBlit : MonoBehaviour | |
| { | |
| public RenderTexture rt; | |
| public Mesh mesh; | |
| public Material material; | |
| public Vector3 meshPosition = new Vector3(0.5f, 0.5f, -1); |
| Shader "Custom/CurveDissolve" | |
| { | |
| Properties | |
| { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _Noise("Noise", 2D) = "white" {} | |
| _CurveTexture("Curve texture", 2D) = "white" {} | |
| _Cutoff("Cutoff", Range(0,1)) = 0 | |
| _Glossiness ("Smoothness", Range(0,1)) = 0.5 |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Reflection; | |
| [InitializeOnLoad] | |
| public static class ShowFileExtensions | |
| { |
| /* | |
| MIT License | |
| Copyright (c) 2016 Jesse Ringrose | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| using UnityEngine; | |
| // Render the screen in lower resolution | |
| [ExecuteInEditMode] | |
| [RequireComponent(typeof(Camera))] | |
| public class ResoScaler : MonoBehaviour | |
| { | |
| [Range(1, 8)] | |
| public float scale = 1; |
| // The MIT License (MIT) | |
| // Copyright (c) 2016 David Evans @phosphoer | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR |
| using UnityEngine; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine.EventSystems; | |
| [System.Serializable] | |
| public class CableCurve { | |
| [SerializeField] | |
| Vector3 m_start; |