Skip to content

Instantly share code, notes, and snippets.

mold technotherion

View GitHub Profile
View flowapp.js
//
// Created by Luis Cuenca on 1/31/18
// Copyright 2018 High Fidelity, Inc.
//
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
/* jslint bitwise: true */
View easter-egg.frag
// see easter-egg.js for an example of how to set up the userData for this shader on a Sphere entity
// -- humbletim @ 2017.04.12
// somewhat hacked together by mold for use on a plane
uniform vec2 uvscale = vec2(1.0, 1.0);
uniform vec3 specular = vec3(0.0, 0.0, 0.0);
uniform float shininess = 75.0;
uniform float emit = 0.0;
float getProceduralColors(inout vec3 __diffuse, inout vec3 __specular, inout float __shininess) {
You can’t perform that action at this time.