File: checker.rst

package info (click to toggle)
blender-doc 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 253,604 kB
  • sloc: python: 13,030; javascript: 322; makefile: 113; sh: 107
file content (57 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.. _bpy.types.ShaderNodeTexChecker:

********************
Checker Texture Node
********************

.. figure:: /images/node-types_ShaderNodeTexChecker.webp
   :align: right
   :alt: Checker Texture Node.

The *Checker Texture* is used to add a checkerboard texture.


Inputs
======

Vector
   Texture coordinate to sample texture at;
   defaults to Generated texture coordinates if the socket is left unconnected.

   .. warning::

      This node can have precision issues with some vector inputs.
      See the notes for the :doc:`White Noise Texture </render/shader_nodes/textures/white_noise>`
      for ways to mitigate this issue.

Color1, Color 2
   Color of the checkers.
Scale
   Overall texture scale. The scale is a factor of the bounding box of the face divided by the scale.
   For example, a scale of 15 will result in 15 alternate patterns over the overall UV bounding box.
   Different patterns could be achieved using other nodes to give different input patterns to this socket.
   For example, using the Math Node.


Properties
==========

This node has no properties.


Outputs
=======

Color
   Texture color output.
Factor
   Checker 1 mask (1 = Checker 1).


Examples
========

.. figure:: /images/render_shader-nodes_textures_checker_example.jpg
   :width: 200px

   Default Checker texture.