Removing starfield tilt and reducing grid alpha

This commit is contained in:
Brad Davis 2015-07-20 11:40:12 -07:00
parent cd677ccb18
commit 23b058e4eb
2 changed files with 3 additions and 2 deletions

View file

@ -27,7 +27,8 @@
#include "../../libraries/render-utils/standardTransformPNTC_vert.h"
#include "../../libraries/render-utils/stars_frag.h"
static const float TILT = 0.23f;
//static const float TILT = 0.23f;
static const float TILT = 0.0f;
static const unsigned int STARFIELD_NUM_STARS = 50000;
static const unsigned int STARFIELD_SEED = 1;
static const float STAR_COLORIZATION = 0.1f;

View file

@ -54,7 +54,7 @@ void mainVR( out vec4 fragColor, in vec2 fragCoord, in vec3 fragRayOri, in vec3
c += meridian(polar, float(i) * merdianDist);
}
const vec3 col_lines = vec3(102.0 / 255.0, 136.0 / 255.0, 221.0 / 255.0);
fragColor = vec4(c * col_lines, 1.0);
fragColor = vec4(c * col_lines, 0.2);
}
void main(void) {