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
Shader "Custom/GrabPass" | |
{ | |
SubShader | |
{ | |
Tags { "Queue" = "Overlay" } | |
GrabPass | |
{ | |
"_UVTenkaiGrabTex" | |
} | |
Pass |
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
Shader "SFX/LUT" | |
{ | |
Properties | |
{ | |
[NoScaleOffset]_LUTTex ("LUT Texture", 2D) = "white" { } | |
} | |
SubShader | |
{ | |
Tags { "RenderType" = "Overlay" "Queue" = "Overlay" "ForceNoShadowCasting" = "True" "IgnoreProjector" = "True" "PreviewType" = "Plane" "DisableBatching" = "True" } | |
Cull Front |
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
#version 300 es | |
#ifdef GL_FRAGMENT_PRECISION_HIGH | |
precision highp float; | |
#else | |
precision mediump float; | |
#endif | |
out vec4 outColor; |
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
Shader "Unlit/Uint4Copy" | |
{ | |
Properties | |
{ | |
[NoScaleOffset] _MainTex ("Texture", 2D) = "white" { } | |
} | |
SubShader | |
{ | |
Tags { "RenderType" = "Opaque" } | |
Pass |
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
precision highp float; | |
uniform vec2 resolution; | |
uniform vec2 mouse; | |
uniform float time; | |
uniform sampler2D backbuffer; | |
out vec4 outColor; | |
#define iChannel1 backbuffer | |
#define iResolution resolution | |
#define iTime time |
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
import tkinter as tk | |
from tkinterdnd2 import DND_FILES, TkinterDnD | |
class App(tk.Frame): | |
def __init__(self, master=None): | |
super().__init__(master) | |
self.create_widgets() | |
def create_widgets(self): |
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
/// こちらはオリジナルのソースコード | |
/// https://gist.github.com/wakagomo/fe74ec4a7b74f2e3299a7f2ecc359722 | |
/// に追記したものです。 | |
/// | |
/// オリジナルとの違い: | |
/// - 0x00FF00が透過する | |
/// - 透過していない部分は常に最上面に表示されるが、透過した部分はそのままクリックできる | |
using System; | |
using System.Runtime.InteropServices; |