mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-18 14:41:17 +03:00
Fixes float error (#3607)
This commit is contained in:
parent
dc11ebf760
commit
f03ff66eaf
1 changed files with 2 additions and 2 deletions
|
|
@ -4,8 +4,8 @@
|
|||
light_mode unshaded;
|
||||
|
||||
const highp float darknessAlphaInner = 0.6;
|
||||
const highp float innerCircleRadius = 40; //Note: this is in pixels
|
||||
const highp float outerCircleRadius = 80;
|
||||
const highp float innerCircleRadius = 40.0; //Note: this is in pixels
|
||||
const highp float outerCircleRadius = 80.0;
|
||||
|
||||
void fragment() {
|
||||
highp vec2 pixelSize = vec2(1.0/SCREEN_PIXEL_SIZE.x, 1.0/SCREEN_PIXEL_SIZE.y);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue