This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 */ |