add apache license to shader headers

This commit is contained in:
Stephen Birarda 2014-04-09 09:59:05 -07:00
parent 619e9d7cd3
commit f969e050cd
28 changed files with 134 additions and 28 deletions

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 7/5/13. // Created by Andrzej Kapolka on 7/5/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the depth texture // the depth texture

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 8/16/13. // Created by Andrzej Kapolka on 8/16/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
void main(void) { void main(void) {

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/14/13. // Created by Andrzej Kapolka on 8/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing the original color // the texture containing the original color

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/14/13. // Created by Andrzej Kapolka on 8/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing the original color // the texture containing the original color

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/14/13. // Created by Andrzej Kapolka on 8/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing the original color // the texture containing the original color

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 1/21/14. // Created by Andrzej Kapolka on 1/21/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
void main(void) { void main(void) {

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/8/13. // Created by Andrzej Kapolka on 8/8/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing the original color // the texture containing the original color

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 12/12/13. // Created by Andrzej Kapolka on 12/12/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
uniform float pointScale; uniform float pointScale;

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 10/14/13. // Created by Andrzej Kapolka on 10/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the diffuse texture // the diffuse texture

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 10/14/13. // Created by Andrzej Kapolka on 10/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the interpolated normal // the interpolated normal

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 10/29/13. // Created by Andrzej Kapolka on 10/29/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the diffuse texture // the diffuse texture

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 10/14/13. // Created by Andrzej Kapolka on 10/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the tangent vector // the tangent vector

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 3/24/14. // Created by Andrzej Kapolka on 3/24/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
void main(void) { void main(void) {

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 3/24/14. // Created by Andrzej Kapolka on 3/24/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 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
// //
void main(void) { void main(void) {

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/16/13. // Created by Andrzej Kapolka on 8/16/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the original texture // the original texture

View file

@ -5,12 +5,15 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 11/26/13. // Created by Andrzej Kapolka on 11/26/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
// //
// this shader is an adaptation (HLSL -> GLSL, removed conditional) of the one in the Oculus sample // this shader is an adaptation (HLSL -> GLSL, removed conditional) of the one in the Oculus sample
// code (Samples/OculusRoomTiny/RenderTiny_D3D1X_Device.cpp), which is under the Apache license // code (Samples/OculusRoomTiny/RenderTiny_D3D1X_Device.cpp), which is under the Apache license
// (http://www.apache.org/licenses/LICENSE-2.0) // (http://www.apache.org/licenses/LICENSE-2.0)
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
uniform sampler2D texture; uniform sampler2D texture;

View file

@ -1,5 +1,16 @@
#version 120 #version 120
//
// passthrough.vert
// vertex shader
//
// Copyright 2013 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
//
attribute float voxelSizeIn; attribute float voxelSizeIn;
varying float voxelSize; varying float voxelSize;

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 5/15/13. // Created by Andrzej Kapolka on 5/15/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing our permutations and normals // the texture containing our permutations and normals

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 5/15/13. // Created by Andrzej Kapolka on 5/15/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the position in model space // the position in model space

View file

@ -1,5 +1,15 @@
#version 120 #version 120
//
// point_size.vert
// vertex shader
//
// Copyright 2013 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
//
attribute float voxelSizeIn; attribute float voxelSizeIn;
varying float voxelSize; varying float voxelSize;

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 11/21/13. // Created by Andrzej Kapolka on 11/21/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
uniform sampler2DShadow shadowMap; uniform sampler2DShadow shadowMap;

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 3/27/14. // Created by Andrzej Kapolka on 3/27/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 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
// //
varying vec4 shadowColor; varying vec4 shadowColor;

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 10/14/13. // Created by Andrzej Kapolka on 10/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
const int MAX_CLUSTERS = 128; const int MAX_CLUSTERS = 128;

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 10/29/13. // Created by Andrzej Kapolka on 10/29/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
const int MAX_CLUSTERS = 128; const int MAX_CLUSTERS = 128;

View file

@ -5,7 +5,10 @@
// vertex shader // vertex shader
// //
// Created by Andrzej Kapolka on 3/24/14. // Created by Andrzej Kapolka on 3/24/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 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
// //
const int MAX_CLUSTERS = 128; const int MAX_CLUSTERS = 128;

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/14/13. // Created by Andrzej Kapolka on 8/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing the horizontally blurred color // the texture containing the horizontally blurred color

View file

@ -5,7 +5,10 @@
// fragment shader // fragment shader
// //
// Created by Andrzej Kapolka on 8/8/13. // Created by Andrzej Kapolka on 8/8/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 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
// //
// the texture containing the original color // the texture containing the original color

View file

@ -1,6 +1,16 @@
#version 120 #version 120
#extension GL_ARB_geometry_shader4 : enable #extension GL_ARB_geometry_shader4 : enable
//
// voxel.geom
// geometry shader
//
// Copyright 2013 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
//
// //
// VOXEL GEOMETRY SHADER // VOXEL GEOMETRY SHADER
// //