fix sun z position, add telegram channel to readme

This commit is contained in:
Bixilon 2021-05-12 00:44:05 +02:00
parent bb9d03e58b
commit 49fdad2ca2
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ See [Credits](Credits.md).
## Releases and beta
No clue, but still waiting for !21. Also, some features need to be implemented, so not soo soon (but we are getting closer).
No clue, but still waiting for !21. Also, some features need to be implemented, so not soo soon (but we are getting closer). If you want to get notified about cool new changes, feel free to subscribe to our dev news telegram channel [@MinosoftDevNews]((https://t.me/MinosoftDevNews))
## Compiling and running

View File

@ -27,7 +27,7 @@ uniform mat4 skyViewProjectionMatrix;
#include "minosoft:color"
void main() {
gl_Position = (skyViewProjectionMatrix * vec4(inPosition, 1.0f)).xyww - vec4(0.0f, 0.0f, 0.01f, 0.0f);
gl_Position = (skyViewProjectionMatrix * vec4(inPosition, 1.0f)).xyww - vec4(0.0f, 0.0f, 0.000001f, 0.0f);// prevent face fighting
passTextureCoordinates = vec3(textureIndex, textureLayer & 0xFFFFFFu);
passTextureIndex = textureLayer >> 24u;