Template:ItemBox: Difference between revisionsGive feedback
wearMask now takes no or ramp, for the two ways of dropping the wear mask without washing out the card (with help from vergir-bot LLM) |
wearMask also accepts soft (with help from vergir-bot LLM) |
||
| Line 24: | Line 24: | ||
masked layer costs the GPU an extra render pass per card and the texture | masked layer costs the GPU an extra render pass per card and the texture | ||
costs a backdrop read, so dropping them buys frames at the cost of detail. | costs a backdrop read, so dropping them buys frames at the cost of detail. | ||
wearMask | wearMask drops the mask from the wear tint three different ways: | ||
no - tint moves behind the artwork, so only the card stock is coloured | |||
-->{{#vardefine:lite|{{#switch:{{{wearMask|}}}|no=itembox-flat-wear|ramp=itembox-ramp-wear}} {{#ifeq:{{{iconMask|}}}|no|itembox-flat-icon}} {{#ifeq:{{{texture|}}}|no|itembox-no-texture}}}}<!-- | ramp - tint stays on top, fading in from the card's edges | ||
soft - tint stays on top but uniform and lighter, with the name lifted clear | |||
-->{{#vardefine:lite|{{#switch:{{{wearMask|}}}|no=itembox-flat-wear|ramp=itembox-ramp-wear|soft=itembox-soft-wear}} {{#ifeq:{{{iconMask|}}}|no|itembox-flat-icon}} {{#ifeq:{{{texture|}}}|no|itembox-no-texture}}}}<!-- | |||
Links. | Links. | ||