#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
| using UnityEngine; | |
| using System; | |
| public class DesktopCapture : MonoBehaviour | |
| { | |
| [SerializeField] | |
| uDesktopDuplication.Texture uddTexture; | |
| public Light spotLight; | |
| [Tooltip("Power of 2 to use for the texture size")] |
| Shader "Custom/Glow" { | |
| Properties { | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| _GlowColor ("Glow Color", Color ) = ( 1.0, 1.0, 1.0, 1.0 ) | |
| _Frequency( "Glow Frequency", Float ) = 1.0 | |
| _MinPulseVal( "Minimum Glow Multiplier", Range( 0, 1 ) ) = 0.5 | |
| } | |
| SubShader { | |
| Tags { "RenderType"="Opaque" } | |
| LOD 200 |
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph