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 "Custom/WaveExplo" { | |
| Properties { | |
| _MainTex ("", 2D) = "white" {} | |
| _CenterX ("CenterX", Range(-1,2)) = 0.5 | |
| _CenterY ("CenterY", Range(-1,2)) = 0.5 | |
| _Radius ("Radius", Range(-1,1)) = 0.2 | |
| _Amplitude ("Amplitude", Range(-10,10)) = 0.05 | |
| } | |
| 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
| using FuretCompany.Utils; | |
| using UnityEngine; | |
| public class ImagePlane : MonoBehaviour | |
| { | |
| public string imageResourceName; | |
| protected Vector3 _topLeft; | |
| public Vector3 topLeft { get { return _topLeft; } set { if (value != _topLeft) { _topLeft = value; _meshDirty = true; } } } | |
| protected Vector3 _topRight; | |
| public Vector3 topRight { get { return _topRight; } set { if (value != _topRight) { _topRight = value; _meshDirty = true; } } } |
OlderNewer