This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Pixelated font shader by lox9973 | |
| // It is a cutout shader, using alpha blending for 1 pixel antialiasing on the edges. | |
| // Intended use is "3D Text" on an opaque object like a sign. | |
| Shader "UI/PixelFont" { | |
| Properties { | |
| _MainTex ("Font Texture", 2D) = "white" {} | |
| _Color ("Text Color", Color) = (1,1,1,1) | |
| } | |
| SubShader { | |
| // Below Transparent queue. Renders after the skybox, but writes to depth. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
| // Edited by Lyuma - Added second skybox if light is below the horizon. | |
| Shader "Skybox/CubemapDual" | |
| { | |
| Properties | |
| { | |
| _Rotation ("Rotation", Range(0, 360)) = 0 | |
| [NoScaleOffset] _Tex ("Cubemap Day", Cube) = "grey" {} | |
| [NoScaleOffset] _TexNight ("Cubemap Night", Cube) = "grey" {} | |
| _NightDotThreshold ("Night Dot Threshold", Range(-1, 1)) = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Original file : | |
| Storage for distribution - Lyuma | |
| https://gist.github.com/lyuma | |
| rounded_trail for quest | |
| LICENSE : CC0 | |
| */ | |
| // 2019-09-30 customized for quest. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pass { | |
| Name "SHADOWCASTER" | |
| Tags { "LightMode" = "ShadowCaster" } | |
| CGPROGRAM | |
| #pragma target 3.0 | |
| #pragma multi_compile_shadowcaster | |
| #pragma multi_compile_instancing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (C) 2019 Lyuma (Lyuma#0781) ([email protected]) | |
| // MIT License | |
| // | |
| // 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: | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (C) 2019 Lyuma (Lyuma#0781) ([email protected]) | |
| // MIT License | |
| // | |
| // 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: | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| AvatarCam.shader, version 8.5 | |
| Shows a camera of your own avatar, with support for stereo and separate desktop view. | |
| Copyright (c) 2019-2022 Lyuma <[email protected]>, Smash-ter and others | |
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "LyumaShader/InsideSphere" | |
| { | |
| Properties | |
| { | |
| // Shader properties | |
| _Color ("Main Color", Color) = (1,1,1,1) | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| } | |
| SubShader | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %YAML 1.1 | |
| %TAG !u! tag:unity3d.com,2011: | |
| --- !u!74 &7400000 | |
| AnimationClip: | |
| m_ObjectHideFlags: 0 | |
| m_PrefabParentObject: {fileID: 0} | |
| m_PrefabInternal: {fileID: 0} | |
| m_Name: BehaviourEnabled | |
| serializedVersion: 6 | |
| m_Legacy: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld' | |
| // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' | |
| //Star Nest algorithm by Pablo Román Andrioli | |
| //Unity 5.x shader by Jonathan Cohen | |
| //This content is under the MIT License. | |
| // | |
| //Original Shader: | |
| //https://www.shadertoy.com/view/XlfGRj | |
| // |