mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
Removing starfield tilt and reducing grid alpha
This commit is contained in:
parent
cd677ccb18
commit
23b058e4eb
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue