mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-25 01:52:25 +08:00
Refraction fix
fix the refraction. hopefully.
This commit is contained in:
@ -869,7 +869,7 @@ void main() {
|
||||
|
||||
if ( z >= 1.) { //sky
|
||||
vec3 background = vec3(0.0);
|
||||
background += stars(vec3(np3.x,abs(np3.y),np3.z)) * 5.0;
|
||||
background += stars(vec3(np3.x,abs(np3.y),np3.z)) * 5.0 ;
|
||||
|
||||
#ifndef ambientLight_only
|
||||
background += drawSun(dot(lightCol.a * WsunVec, np3),0, DirectLightColor,vec3(0.0)) ; // sun
|
||||
|
Reference in New Issue
Block a user