Added #version string to many shaders. Added a few to-be-implemented shader files

This commit is contained in:
Shyotl
2011-05-18 14:58:57 -05:00
parent 90c0ea63b1
commit 0193173e46
160 changed files with 419 additions and 17 deletions

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
//////////////////////////////////////////////////////////
// The fragment shader for the terrain atmospherics

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
// Output variables
vec3 getSunlitColor();

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
// varying param funcs
void setSunlitColor(vec3 v);

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
varying vec3 vary_PositionEye;

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
varying vec3 vary_PositionEye;

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
/////////////////////////////////////////////////////////////////////////
// The fragment shader for the sky

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
//////////////////////////////////////////////////////////////////////////
// The vertex shader for creating the atmospheric sky

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
uniform vec4 gamma;

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
/////////////////////////////////////////////////////////////////////////
// The fragment shader for the sky

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
// SKY ////////////////////////////////////////////////////////////////////////
// The vertex shader for creating the atmospheric sky

View File

@@ -4,6 +4,8 @@
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#version 120
//////////////////////////////////////////////////////////
// The fragment shader for the terrain atmospherics