Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
Link to the renderpass page instead of describing it inline
(Change worldvariantgroups from an embedded document into a link. The search function finds the worldvariantgroups but not this embedding. So the worldvariantgroups page needs more context at the top to explain it, which doesn't look good as an embedded page.)
(Link to the renderpass page instead of describing it inline)
Line 2,496: Line 2,496:
     <td>string</td>
     <td>string</td>
     <td>&quot;opaque&quot;</td>
     <td>&quot;opaque&quot;</td>
     <td>Determines how the block will be drawn.</td>
     <td>Determines which [[Modding:Render_Stages#Chunk_render_passes|pass]] the block is drawn in.</td>
    <td>-</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_opaque" data-tt-parent="p_renderpass">opaque</div></td>
    <td></td>
    <td>0</td>
    <td>Used for solid blocks with no half transparency.</td>
    <td>-</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_opaquenocull" data-tt-parent="p_renderpass">opaquenocull</div></td>
    <td></td>
    <td>1</td>
    <td>Used for non-solid single faced blocks, such as tall grass.</td>
    <td>-</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_transparent" data-tt-parent="p_renderpass">transparent</div></td>
    <td></td>
    <td>2</td>
    <td>Use for solid halftransparent blocks, such as glass</td>
    <td>-</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_liquid" data-tt-parent="p_renderpass">liquid</div></td>
    <td></td>
    <td>3</td>
    <td>Used for liquids, produces waves.</td>
    <td>-</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_topsoil" data-tt-parent="p_renderpass">topsoil</div></td>
    <td></td>
    <td>4</td>
    <td>Used for grass covered blocks. Allows for a smooth transition from grass to soil, while still allowing climate tinting of grass.</td>
     <td>-</td>
     <td>-</td>
   </tr>
   </tr>
Confirmedusers
261

edits