Skip to content

Instantly share code, notes, and snippets.

View KieronJenkins's full-sized avatar

Kieron KieronJenkins

  • Games Company
  • United Kingdom
View GitHub Profile
@KieronJenkins
KieronJenkins / DirectoryChecker.py
Last active June 10, 2023 18:00
Directory Checker Script - Base python script that can be used to search through a directory of assets with iterations to find any missing assets - this was used for images when made, feel free to extend.
import os
import re
FILE_LOCATION = input("File Location to Search: ")
print('Searching... ' + FILE_LOCATION)
IMAGE_FILES = os.listdir(FILE_LOCATION)
FILE_NUMBERING = []
for FOUND_FILE in IMAGE_FILES:
@KieronJenkins
KieronJenkins / SH_BaseLit.shader
Created February 4, 2023 19:08
Base Unlit and Lit Unity URP Shaders using HLSL
Shader "Custom/URP/SH_BaseLit"
{
Properties
{
_BaseColor("Base Color", color) = (1,1,1,1)
[Space]
_MainTex ("Texture", 2D) = "white" {}
[Space]
_Smoothness("Smoothness", Range(0,1)) = 0
[Space]
@KieronJenkins
KieronJenkins / MayaWindowTemplate.py
Created January 27, 2023 17:31
Maya python script that creates a simple base window to use
# Maya Window GUI Template : Base Maya Commands
#
# -------------------------- IMPORTS
from maya import cmds
# -------------------------- CLASS
class WindowTemplate:
# -------------------------- VARIABLES
WINDOW_HEIGHT = 500