Environment textures
End portal colours
Section titled “End portal colours”end_portal_colors is a 4×4 table of colours in the vanilla pack, 16 distinct ones.
Proven · every pixel of the v1.26.60.5 file Each is in the range of the random colours the early end portal drew
from: red 0.1 to 0.6, green 0.4 to 0.9, blue 0.5 to 1. Observed · the 16 colours of the v1.26.60.5 file
The portal is drawn as 17 planes, a clearing plane and then 16 star planes from the deepest up, added together
(blendSrc One, blendDst SourceAlpha with an alpha of 1). Sourced · MCPE 1.0.0 Restored, legacy vanilla shaders
Star plane L (1 to 16) takes the colour at the centre of cell L - 1 of a 4×4 grid, row by row: UV 0.125,
0.375, 0.625 or 0.875 across and down, point-sampled. Sourced · MCPE 1.0.0 Restored, legacy portal.material
A plane’s star texel is multiplied by that colour and by 1 - depth, its depth being (16 - L) / 16, so plane L
shows at L / 16 of its colour. Sourced · legacy vanilla shaders, MCPE 1.0.0 Restored The UVs do not depend on
the texture’s size, so a larger table is read at the same fractions: an 8×8 one at its odd texels. Inferred
The plane layout and UVs are those of the 1.0 client and the published pre-RenderDragon shaders; the current renderer’s are not published. A pocket build drew 8 planes, every second UV.
A third-party pack ships an 8×8 table with 12 colours in its lower right quarter and black elsewhere, beside a 4×4 original with the same 12 colours; read as above, only planes 11, 12 and 15 take a colour. Observed · the La Nature resource pack
Weather sheet
Section titled “Weather sheet”weather is a square sheet, 32 pixels in the vanilla pack. Proven · the v1.26.60.5 file Snow particles draw one of
eight cells along its top eighth, each an eighth of the sheet square; rain particles one of eight cells below them,
each an eighth wide and half the sheet tall, starting an eighth down (v 0.125 to 0.625). Sourced · cinnabar
In the vanilla sheet the snow cells hold flakes and the rain cells streaks of one pixel’s width.
Observed · the v1.26.60.5 file Each drawn particle is a quad stretched along its fall, half a block long for rain and
a fifth of a block for snow at their usual speeds. Sourced · cinnabar Below the rain cells the vanilla sheet has four
flat colour swatches, which no model above reads. Observed · the v1.26.60.5 file