Skip to content

Commit 8753134

Browse files
committed
fix bottom face ambient occulusion
1 parent 37c581b commit 8753134

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,14 @@
55

66
## About
77

8-
**Web-minecraft is minecraft client written in Javascript.** From web browser this client connects to proxy that translates websocket to TCP and then to real minecraft server, so you can play minecraft in the browser.
8+
**Web-minecraft is minecraft client written in Javascript.** From web browser this client connects to proxy that translates Websocket connection to TCP and then to real minecraft server, so you can play minecraft in the browser.
99

10-
## Install locally
10+
## Setup
1111

1212
```bash
13-
#Clone repo
14-
git clone https://github.com/michaljaz/web-minecraft
15-
cd web-minecraft
1613
#Install node modules
1714
npm i
1815

19-
```
20-
21-
## Setup
22-
23-
```bash
2416
#Building app bundle
2517
npm run build
2618

src/scripts/world/ChunkMesher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ class ChunkMesher {
164164
this.aoColor(loaded['-1:1:1'] + loaded['0:1:1'] + loaded['-1:1:0'])
165165
],
166166
ny: [
167-
this.aoColor(loaded['1:-1:-1'] + loaded['0:-1:-1'] + loaded['1:-1:0']),
168167
this.aoColor(loaded['1:-1:1'] + loaded['0:-1:1'] + loaded['1:-1:0']),
168+
this.aoColor(loaded['1:-1:-1'] + loaded['0:-1:-1'] + loaded['1:-1:0']),
169169
this.aoColor(loaded['-1:-1:1'] + loaded['0:-1:1'] + loaded['-1:-1:0']),
170170
this.aoColor(loaded['-1:-1:-1'] + loaded['0:-1:-1'] + loaded['-1:-1:0'])
171171
],

0 commit comments

Comments
 (0)