Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Knowledge Base
  3. 3D Blocks
  4. The Grid Material

The Grid Material

Scheduled Pinned Locked Moved 3D Blocks
1 Posts 1 Posters 853 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CreatiCodeI Offline
    CreatiCodeI Offline
    CreatiCode
    wrote on last edited by admin
    #1

     

    Prerequisite

    • Adding Planes

    Introduction

    The grid material gives an object a clean and futuristic look. It is commonly used to create grounds.

    To apply the grid material to any object, you can use this block:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/dcbd3caf-0a5c-424a-895d-d830ee309da8.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">

     

    Face Color and Line Color

    You can set the color of the surface and the lines using the first 2 color selection inputs. Note that the face color’s transparency value will be ignored, but you set the line color’s transparency. And when the lines are transparent, the face color will be fixed at 92% transparent.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/e6b27a26-2b73-40b7-a2fb-f6a4ade80bac.gif" width="925" style="">

     

    Line Density

    You can control the spacing between the lines using the density value. When it is 1, it means one line every 100 units. A higher density value will reduce the line spacing, thus generating more lines; a lower density value will produce fewer lines.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/f334ab45-0772-4991-87c9-69fddc2ccb4f.gif" width="925" style="">

     

    Minor Line Visibility

    There can be 2 types of lines: major lines and minor lines. The “minor line visibility” input controls the transparency of the minor lines relative to the major lines. By default, the minor lines are only 33% thick compared to the major lines. you set this value to 100%, then the minor lines will look the same as the major lines.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/82283d42-635d-4edf-bd4a-dd72d7423269.gif" width="925" style="">

     

    X/Y/Z Offsets (Absolute Values)

    You can shift the position of the lines by an absolute distance in each of the X/Y/Z directions. As shown in this example, suppose we want the major lines to appear on the edges of the box, will need to shift the lines by half of the edge length, which is 500.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/ac926af4-b442-4268-8cf2-e2feefc29251.gif" width="1000" style="">

    1 Reply Last reply
    0
    • CreatiCodeI CreatiCode pinned this topic on

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode