Skip to content

Instantly share code, notes, and snippets.

View MuhammedResulBilkil's full-sized avatar
:octocat:

Resul MuhammedResulBilkil

:octocat:
View GitHub Profile
@herohiralal
herohiralal / EdgeDetection.shader
Created June 29, 2021 02:20
URP Sobel Edge Detection
Shader "Universal Render Pipeline/Post-Processing/EdgeDetection"
{
Properties
{
[Toggle(ENABLED)] __enabled("Enabled", Float) = 1
[MainTex] [HideInInspector] _MainTex ("Base Map", 2D) = "white" { }
[MainColor] _Color ("Color", Color) = (1, 1, 1, 1)
_Thickness ("Thickness", Float) = 0
@yasirkula
yasirkula / MultiScreenshotCapture.cs
Last active April 22, 2024 11:09
Capture multiple screenshots with different resolutions simultaneously in Unity 3D
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace MultiScreenshotCaptureNamespace
{
internal static class ReflectionExtensions