Skip to content

Instantly share code, notes, and snippets.

View Somshekardsi's full-sized avatar

Somshekar Somshekardsi

View GitHub Profile
@Somshekardsi
Somshekardsi / MobileARShadow.shader
Created June 23, 2023 05:01 — forked from DanMillerDev/MobileARShadow.shader
Shadows on transparent geometry shader for Unity
//This is based on a shader from https://alastaira.wordpress.com/2014/12/30/adding-shadows-to-a-unity-vertexfragment-shader-in-7-easy-steps/
Shader "Custom/MobileARShadow"
{
SubShader {
Pass {
// 1.) This will be the base forward rendering pass in which ambient, vertex, and
// main directional light will be applied. Additional lights will need additional passes
// using the "ForwardAdd" lightmode.
@Somshekardsi
Somshekardsi / AdbCommands
Created August 16, 2021 05:26 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
// Unity C# Cheat Sheet
// I made these examples for students with prior exerience working with C# and Unity.
// Too much? Try Unity's very good tutorials to get up to speed: https://unity3d.com/learn/tutorials/topics/scripting