No Man's Sky
0 of 0

File information

Last updated

Original upload

Created by

zagzag

Uploaded by

zagzag

Virus scan

Safe to use

Tags for this mod

About this mod

Fixes the weird glow some stars have in VR.

Permissions and credits
Fixes the weird glow some stars have in VR, that looks kind of rectangular. 

Two versions, one regular one extra, for even less glow.

Modifies :
\SHADERS\CODE\BIN\PC\PSTREAM_FRAG_PSTREAM_SYSTEM_0.SPV

Specifically, I've changed the last line of the shader from 
out_color0 = _395;

to 
out_color0 = pow(_395, vec4(1.5));

or 
out_color0 = _395 * _395; 
for the extra version.

(_395 is a variable that stores the output color up to that point). 

The second version is theoretically faster, since pow() is a more expensive instruction, but I didn't see any performance loss with either. I think it's a drop in the ocean compared to everything else that's going on.