mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-08-03 18:57:27 -04:00
Updated Minecraft Classic lava animation algorithm. (markdown)
parent
6d1f46a320
commit
c428a89300
@ -3,4 +3,6 @@ This page demonstrates the process of reverse engineering the lava animation fro
|
|||||||
First, a plot of the R, G, and B components of randomly selected pixel.
|
First, a plot of the R, G, and B components of randomly selected pixel.
|
||||||

|

|
||||||
|
|
||||||
It can be clearly seen from this that all the components use the same basic algorithm, except that they are offset and scaled by different values.
|
It can be clearly seen from this graph that all the components use the same basic algorithm, except that they are translated and scaled by different values.
|
||||||
|
It can also be seen that the output of the basic algorithm is clamped between [-1, 1] or [0, 1] _before_ scaling and translation is applied.
|
||||||
|
___
|
Loading…
x
Reference in New Issue
Block a user