User Tools

Site Tools


This page exists within the Old ArtZone Wiki section of this site. Read the information presented on the linked page to better understand the significance of this fact.

Shader Workspace

The Shader Workspace is where you mix bricks to create your custom shader. When you first open the Shader Mixer, a default shader will be available. You can work on multiple shaders at once or just one at a time.

At the top of the workspace are tabs and buttons to access workspace edit options.

shmx_tabsmenu.jpg

  • Tabs: As you create or open shaders, they are opened in tabs in the workspace. Click on the tabs to access and work on the material.
  • Edit Options: Click on the button icons to use the edit functions.
    • Save: When selected, displays a save dialog where you can name and save the shader.
    • Copy: When selected, copies the selected brick(s).
    • Cut: When selected, cuts the selected brick(s) from the workspace
    • Paste: When selected, pastes any brick(s) on the clipboard into the current tab.
    • Preferences: When selected, displays the Preferences dialog where you can change the name of the shader and select whether the output nodes are on the left or right. Click in the check box to deselect it if you prefer to have the output nodes on the right. This will also place the root node on the right-hand side of the screen.

      shmx_matprefs.jpg

At the top right of the workspace is an “X” button. Click on this button to close the current shader without saving it. A confirmation message will be displayed asking if you are sure you want to close the shader. Click on Yes to close the shader or on No to keep it open.

shmx_closemat.jpg

Along the side and bottom of the workspace are scrollbars which can be used to view different sections of the workspace. As you add bricks, the scrollbars will be invaluable as you work.

The workspace itself is where you create your shaders by adding and removing bricks, and connecting the input and output nodes.

shmx_brickexamples.jpg

Right-clicking on any blank area of the workspace brings up the context menu.

shmx_wkspcontextmenu.jpg

  • Insert Brick: Used to add new bricks to the workspace. Follow the arrows to access the sub-menus to add root or function bricks. Bricks can also be added by dragging them from the Brickyard.

    shmx_newbrickdrag.jpg
  • Copy: When selected, copies the selected brick(s).
  • Cut: When selected, cuts the selected brick(s).
  • Paste: When selected, pastes any brick(s) on the clipboard into the current tab.
  • To Front: Moves the selected brick(s) to the front.
  • To Back: Moves the selected brick(s) to the back.

    shmx_frontback.jpg

To select bricks, left-click in the workspace and drag the cursor over the bricks to be selected. You'll see a selection marquee displayed as you drag the cursor. As long as some part of the marquee touches a brick, that brick will be selected.

shmx_selected.jpg

To move bricks:

  1. Move the cursor over the top of the brick. The cursor will change to a double arrow icon.

    shmx_movebrick.jpg
  2. Left-click and drag the brick to its new location.

At the bottom left of the workspace is the Zoom field. Use the up and down buttons to increase or decrease the zoom, or enter the zoom amount manually into the field.

shmx_zoom.jpg