This file contains 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
using UnityEngine; | |
using System.Collections; | |
using System.IO; | |
using UnityEngine.Rendering.Universal; | |
/* | |
Usage: | |
1. Attach this script to your chosen camera's game object. | |
2. Set that camera's Clear Flags field to Solid Color. | |
3. Use the inspector to set frameRate and framesToCapture |
This file contains 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
// this shader using vertex color as input and show on meshes' surface. | |
// have searched a long time but there is no one upload a vertex-colored shader for urp so I made this. | |
// have a good day. | |
Shader "Example/VertexColor" { | |
Properties | |
{ | |
} | |
SubShader { | |
Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" } |