Skip to content

Instantly share code, notes, and snippets.

View emmasteimann's full-sized avatar

Goose Goosington (Emma Steimann) emmasteimann

  • PNF-404
View GitHub Profile
@wrightwriter
wrightwriter / houdinicheatsheet.py
Last active January 11, 2022 15:54
houdini halp
// -------------- VEX --------------
chramp()
f@Frame f@Time
i@name = value
i[]@name = array()
v@P v@Cd i@ptnum i@vtxnum i@primnum
i@numpt i@numvtx i@numprim i@numelem
@N @scale
@longht021189
longht021189 / Build V8 - Note.md
Last active June 7, 2021 02:28
Build V8 - Note

Build V8 Note

Step by step:

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git ~/.v8/depot_tools
export PATH=~/.v8//depot_tools:$PATH
gclient
cd path/to/v8/folder
fetch v8
@freezy
freezy / CameraTranslateAndOrbit.cs
Last active August 23, 2023 06:24
Camera Orbit Script for Unity's new Input System
using UnityEngine;
using UnityEngine.InputSystem;
/// <summary>
/// A simple camera orbit script that works with Unity's new Input System.
/// </summary>
public class CameraTranslateAndOrbit : MonoBehaviour
{
public float zoomSpeed = 1;
@ryancat
ryancat / aseprite_install.sh
Last active May 19, 2024 03:19
Download and install aseprite
#!/bin/bash
# Must have git, homebrew, and xcode to install
# Make sure to change line 29 and line 30 according to your mac OS and xcode versions
# Install ninja compiler
brew install ninja
# Install CMake for makefile
brew install cmake
@raysan5
raysan5 / custom_game_engines_small_study.md
Last active May 28, 2024 15:33
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d

@NewEXE
NewEXE / ConvertToObj.cs
Last active January 3, 2024 09:35
Export Unity Game Objects to Wavefront OBJ
// On the basis: https://forum.unity.com/threads/export-obj-while-runtime.252262/
// How to use:
// Put file to Assets/Editor folder
// then select GameObject -> Export selected objects
// in Unity's main panel.
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
@FreyaHolmer
FreyaHolmer / FlyCamera.cs
Last active May 31, 2024 14:38
A camera controller for easily flying around a scene in Unity smoothly. WASD for lateral movement, Space & Ctrl for vertical movement, Shift to move faster. Add this script to an existing camera, or an empty game object, hit play, and you're ready to go~
using UnityEngine;
[RequireComponent( typeof(Camera) )]
public class FlyCamera : MonoBehaviour {
public float acceleration = 50; // how fast you accelerate
public float accSprintMultiplier = 4; // how much faster you go when "sprinting"
public float lookSensitivity = 1; // mouse look sensitivity
public float dampingCoefficient = 5; // how quickly you break to a halt after you stop your input
public bool focusOnEnable = true; // whether or not to focus and lock cursor immediately on enable
@antonsem
antonsem / arproxy.shader
Last active April 3, 2024 20:54 — forked from StigOlavsen/arproxy.shader
Unity shader for LWRP and AR Foundation, renders as transparent with occlusion and shadows. Put this on AR planes to get shadows and occlusion for 3D objects.
Shader "AR Proxy"
{
Properties
{
}
SubShader
{
Tags
{
@unitycoder
unitycoder / Standard Triplanar Slots.shader
Last active January 28, 2023 23:50
Keijiro Standard Triplanar Shader with Added Glossiness and Metallic Texture Slots (and updated material inspector)
// Standard shader with triplanar mapping
// https://github.com/keijiro/StandardTriplanar
Shader "Standard Triplanar Slots"
{
Properties
{
_Color("", Color) = (1, 1, 1, 1)
_MainTex("", 2D) = "white" {}
@mhamilt
mhamilt / Notes.md
Last active February 19, 2023 20:17
Metal Compute Shader Example in Swift and Objective C

Notes

Create a command line target in xcode either in Swift or Obj-C. add a metal file to the project and copy and paste the respective code into each file.