Skip to content

Instantly share code, notes, and snippets.

View ParkingLotGames's full-sized avatar
🥝
I may be slow to respond.

Parking Lot Studio ParkingLotGames

🥝
I may be slow to respond.
View GitHub Profile
Shader "BlurShader" {
Properties{
_MainTex("Texture", 2D) = "white" {}
_BlurAmount("Blur Amount", Range(0, 5)) = 1
[Toggle]_HALF_TEXEL_OFFSET("Use Half Texel Offset", Float) = 0
}
SubShader{
Tags { "RenderType" = "Opaque" }
LOD 100
Shader "Half Texel Offset Blur Test" {
Properties{
_MainTex("Texture", 2D) = "white" {}
_BlurAmount("Blur Amount", Range(0, 5)) = 1
[Toggle]_HALF_TEXEL_OFFSET("Use Half Texel Offset", Float) = 0
}
SubShader{
Tags { "RenderType" = "Opaque" }
LOD 100
@ParkingLotGames
ParkingLotGames / msc.rsp
Created January 21, 2023 10:08
msc.rsp (or csc.rsp for 2018.3+) it tells the C# compiler to include the assemblies required to access System.IO.Compression in 2018.2-4
-r:System.IO.Compression.dll
-r:System.IO.Compression.FileSystem.dll
@ParkingLotGames
ParkingLotGames / gist_to_github_repo.md
Created January 13, 2023 04:55 — forked from ishu3101/gist_to_github_repo.md
Transfer a gist to a GitHub repository

Transfer a gist to a GitHub repository

clone the gist

git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9

rename the directory

mv 6fb35afd237e42ef25f9 ConvertTo-Markdown

change the working directory to the newly renamed directory

cd ConvertTo-Markdown

@ParkingLotGames
ParkingLotGames / Unity-Stochastic-Texture-Tiling-BIRP.shader
Created December 27, 2022 01:57
Unity-Stochastic-Texture-Tiling-BIRP
Shader "UnTilerable BIRP"
{
Properties
{
_MainTex("RGB 01", 2D) = "white" {}
}
SubShader
{
Tags
{
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
/// <summary>
/// This class adds headers to the hierarchy window in Unity to group objects together.
/// It is a slightly modified version of Hierarchy Window Group Header
/// http://diegogiacomelli.com.br/unitytips-hierarchy-window-group-header
/// </summary>
namespace DevTools.Editor