Fix: Convert textures to proper 16x16 PNG32, fix leaf tint for new asset - v2.1.8
|
Before Width: | Height: | Size: 701 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 450 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 752 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 701 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 450 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 752 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 701 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 450 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 752 KiB After Width: | Height: | Size: 5.0 KiB |
|
|
@ -2626,7 +2626,7 @@ int main(void)
|
||||||
rlBegin(RL_QUADS);
|
rlBegin(RL_QUADS);
|
||||||
rlColor4ub(blockTint.r, blockTint.g, blockTint.b, 255);
|
rlColor4ub(blockTint.r, blockTint.g, blockTint.b, 255);
|
||||||
if (renderType == LEAVES) {
|
if (renderType == LEAVES) {
|
||||||
rlColor4ub((unsigned char)(blockTint.r * 0.2f), (unsigned char)(blockTint.g * 0.6f), (unsigned char)(blockTint.b * 0.2f), 255);
|
rlColor4ub((unsigned char)(blockTint.r * 0.6f), (unsigned char)(blockTint.g * 0.9f), (unsigned char)(blockTint.b * 0.6f), 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Chunk* chunk : visibleChunks) {
|
for (Chunk* chunk : visibleChunks) {
|
||||||
|
|
|
||||||