A render scale per particle for the ones the instancer batches straight from their fields, and the pack's
particle program for particles drawn outside the effect renderer. Any number of mods can add a scale source,
the factors multiply.
Packs pick parts of some blocks by where a pixel sits inside its world block (cauldron water, end portal
frame eyes, brewing stands), which goes wrong for geometry drawn turned or off the grid. While a local grid
is on, the camera and matrix uniforms describe a world where the draw's model space is the block grid. View
space, clip space and the shadow map come out the same. Not on the SDL GPU backend.
The remapping is one table in LocalGridFrame, applied where the custom uniform inputs are built, so the Iris
uniform classes stay as they are. Custom uniforms the pack builds from remapped ones get evaluated again too,
and smooth() smooths from the frame's starting value when it's called twice in one frame so it doesn't step
twice.
beginLocalGrid hands back a LocalGrid to close, and warns once if the modelview was left changed. Also adds the
at_midBlock location to TerrainRendering for packs that don't need the grid.
Mods can make a light at any position, move it and change it, and it lights terrain and entities like a held
torch. Also a way to look up lights near a point and Angelica's falloff.
A light can be set to show under a shaderpack without the shader force option (setLitUnderShaderpacks), for
lights that stand in for real blocks a pack can't light itself. Entity and held item lights still need shader
force, and dynamic lights turned off still means off.
A light can also reach further than a held torch, or less far (setReach, 0-15). It falls off like block light
then, so 15 is what a real block of that luminance gives. Fractions work, for a lamp in something drawn smaller
than life. The default stays the old 7.75 block torch falloff. A positional light only tracks the chunk sections
its light gets into, up to 27 at reach 15, so a longer reach rebuilds more when it moves. A change in reach
under 0.1 doesn't rebuild anything, like a move under 0.1 blocks.
Switching dynamic lights, shader force or the pack now rebuilds the sections the lights were in. Before that a
light that went dark stayed in the terrain until something else rebuilt it, and with a pack on that would leave
entity lights behind next to the ones that stay lit. A light that sat still also never came back.
The per section source filter now counts the cells a block outside the section too (14.8 from the middle
instead of 13.9), the same cells the section tracking rebuilds for.
Casters run in the shadow pass with the solid shadows and again after translucent terrain, so geometry drawn
from a TESR or the world draw stage can shadow like terrain.
RenderWorldLastEvent comes after the pack's composite passes, so anything drawn there misses its lighting,
fog and shadows. Drawers registered here run right after block entities, once per Forge pass.
TerrainRendering lets geometry drawn outside the chunk renderer (moving structures, previews) use the
pack's terrain programs, materials, layer overrides and AO and shading settings, and bake the same way the
mesher does. TerrainLighter runs the mesher's smooth and flat light pipelines over any block access.
Vanilla AO can be turned off per thread while baking.
* Mods can supply their own weather columns, drawn alongside vanilla rain and snow
* Mod weather renders instanced with and without shader packs
* NotFine leaf settings apply to Biomes O' Plenty leaves
* Flyby can start in a named biome and fly in survival