Tag:UnityShader

  • Unityshader uses plane to turn over books

    Time:2021-8-17

    This example shares the specific code of unityshader using plane to realize the book flipping effect for your reference. The specific contents are as follows I saw a shadr on the Internet that can realize the rotation effect, so I used it to realize a Book flipping effect. The solution is to display and hide […]

  • Unityshader for blinds

    Time:2021-6-8

    In this paper, we share the specific code of unityshader shutter display for your reference. The specific content is as follows Shaders achieve the above shutter effect, mainly through shaders to achieve C # just do switch control When I saw an article that was quite complicated, I thought it could be implemented through shaders, […]

  • UnityShader uses image overlay to achieve motion blurring

    Time:2019-5-14

    In this paper, we share the specific code of UnityShader to realize motion blurring for your reference. The details are as follows. 1. This code is hung on the camera to make the camera move. using UnityEngine; using System.Collections; public class Translating : MonoBehaviour { public float speed = 10.0f; public Vector3 startPoint = Vector3.zero; […]

  • UnityShader realizes motion blurring by using velocity mapping graph

    Time:2019-5-13

     In this paper, we share the specific code of UnityShader to realize motion blurring for your reference. The details are as follows. Principle: The NDC coordinates of the current frame of a pixel (x, Y values are mapped by uv, and Z values are mapped by depth values) – (using _Current View Project Inverse Martix […]