modified light penetration to penetrate less

Former-commit-id: 43b6fa9456ab58d6c59b738c718d0dcbe27799d1
Former-commit-id: ac3da567accddaea19ede6f7fcf59aff4cc10c9a
This commit is contained in:
Song Minjae
2016-12-20 14:37:29 +09:00
parent e0665db121
commit 8c8a0cbb23
3 changed files with 28 additions and 11 deletions

View File

@@ -641,3 +641,4 @@ constructor() : BasicGameState() {
}
fun Color.toInt() = redByte.shl(16) or greenByte.shl(8) or blueByte
fun Color.to10bit() = redByte.shl(20) or greenByte.shl(10) or blueByte