Skip to content

Instantly share code, notes, and snippets.

View eddietree's full-sized avatar

Eddie Lee eddietree

View GitHub Profile
Sifu
0x5dd596c901987a2b28c38a9c1dfbf86fffc15d77
Tetra
0x9c5083dd4838e120dbeac44c052179692aa5dac5 - Confirmed
0xFBAcf517a8523a41C75C189FB9FCE7b536030e1A - Confirmed
0x3f3e305c4ad49271ebda489dd43d2c8f027d2d41 - Assumed
Pantera
0xD760b9CB76124dF30D80bcc237c44eDad4b20110
Dani
0x8a7f7c5b556b1298a74c0e89df46eba117a2f6c1
@eddietree
eddietree / Subject: Help!
Created July 5, 2020 18:37
🏆🏆🏆Official Funktronic Labs Best Email Award 2020🏆🏆🏆
Dear great ones of Funkatronic Labs,
I purchased Fujii on April 8th of this year on the quest. And it is a great game.
So great, I was excites to also play it on oculus pc.
The very day I purchased it for quest I tried to redeem the cross buy on pc. But alas! There was an error in the oculus store that prevented me from redeeming, or even purchasing the game again from the oculus game store.
I was perplexed, vexed, and dismayed. "Where is my game!," I cried to the heavens, "I wish to play this wonderful game!"
No worries, I thought, I will contact oculus customer support right away, they will fix the issue.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Mathematics;
using System.Runtime.CompilerServices;
using UnityEngine.Profiling;
using UnityEngine.Assertions;
using System.Threading;
namespace WFC
// Upgrade NOTE: replaced '_World2Object' with 'unity_WorldToObject'
Shader "Fuji/Moss"
{
Properties
{
[Header(Channels are affected by vertex colors (RGBA).)]
[Header(Please only use max 4 textures if possible.)]
// RED CHANNEL
@eddietree
eddietree / sdfnormal.txt
Created April 20, 2018 23:42
SDF normal
float3 calcNormal(in float3 pos) {
float3 eps = float3(0.001, 0.0, 0.0);
float3 nor = float3(
map(pos + eps.xyy).x - map(pos - eps.xyy).x,
map(pos + eps.yxy).x - map(pos - eps.yxy).x,
map(pos + eps.yyx).x - map(pos - eps.yyx).x);
return normalize(nor);
}
@eddietree
eddietree / DrawMeshInstanceIndirect-Logcat-android.txt
Last active April 12, 2018 22:33
2017.4.0f1 DrawMeshInstanceIndirect bug on Android (LOGCAT)
04-12 15:05:51.982 31367 31388 E Unity : Unable to find libAudioPluginOculusSpatializer
04-12 15:05:51.996 31367 31388 D Unity : GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_b
@eddietree
eddietree / gist:d67c7914744e459da358ec1f0c37584a
Created March 12, 2018 06:16
ras pub key digitaldomain
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2IoXAS4vU3GcXpEW3J5aquPPjzoJ/nQlGnAFybGdBfE5Md59b7Xx/hYzxjckpIo0R/Obhs1Emp6EKoJQgMaMv6NOeDT5Ob3qhE5vGJkAHtV3L9E8EIrkoCOe051cswM6wvH9FYJLNphWhQgWOOGwcePpKukZAluslWwU5U7s8LeRHT+5FL9HE4FUOBDj6vug6ouFx32ctPiw9METHO6/H/7gw4vChhNmkJy2A/z/7PTUTooTW3FDZMMwNGKVU+jfdvxRn0ZcvUi12OJ2+Ctj2dNDZfX21aB+VQmzk/RAeng6Sy2fniSFBOCTP68aCRyYKxhaigvkw6U1Bh92XUNlP Eddie@EDDIE-HOME-PC
Shader "Unlit/Zelda"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_HatchTex("Hatch Texture", 2D) = "white" {}
_WatercolorTex("WaterColor Texture", 2D) = "white" {}
_HatchPowCoeff("Hatch Pow", Range(0.0,10.15)) = 3.0
_HatchThreshold("Hatch Threshold", Range(0.0,1.0)) = 0.25
@eddietree
eddietree / weird-chords.txt
Created March 13, 2017 04:57
weird chords
"16"
"164"
"165"
"17"
"242"
"26"
"264"
"265"
"27"
@eddietree
eddietree / hookdata-4.json
Created March 10, 2017 07:12
hook data, 4-levels (chords), 4 chords per-level, total 85 chord progressions
{
"1": {
"probability": 0.25800711743772237,
"name": "I",
"next": {
"2": {
"probability": 0.101010101010101,
"name": "ii",
"next": {
"1": {