Update raymarching.fs
This commit is contained in:
parent
2ff7024425
commit
79db4d476e
|
|
@ -1,13 +1,9 @@
|
||||||
//Ported by CDM to work on older hardware.
|
|
||||||
#version 120
|
#version 120
|
||||||
|
|
||||||
// Input vertex attributes (from vertex shader)
|
// Input vertex attributes (from vertex shader)
|
||||||
varying vec2 fragTexCoord;
|
varying vec2 fragTexCoord;
|
||||||
varying vec4 fragColor;
|
varying vec4 fragColor;
|
||||||
|
|
||||||
// Output fragment color
|
|
||||||
vec4 finalColor;
|
|
||||||
|
|
||||||
uniform vec3 viewEye;
|
uniform vec3 viewEye;
|
||||||
uniform vec3 viewCenter;
|
uniform vec3 viewCenter;
|
||||||
uniform float runTime;
|
uniform float runTime;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user