From 78878aa6613c62b2056fbb1cfc0bf6e53725cb20 Mon Sep 17 00:00:00 2001 From: hpnrep6 Date: Fri, 25 Jun 2021 13:12:03 -0400 Subject: [PATCH] Fix hyperlink usage in Your first 2D/3D shaders (#5048) --- .../shaders/your_first_shader/your_first_2d_shader.rst | 6 +++--- .../shaders/your_first_shader/your_first_3d_shader.rst | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tutorials/shaders/your_first_shader/your_first_2d_shader.rst b/tutorials/shaders/your_first_shader/your_first_2d_shader.rst index 6339a2b7e..1a0a2a9c9 100644 --- a/tutorials/shaders/your_first_shader/your_first_2d_shader.rst +++ b/tutorials/shaders/your_first_shader/your_first_2d_shader.rst @@ -22,9 +22,9 @@ fragment functions. This tutorial targets absolute beginners to shaders. Setup ----- -:ref:`CanvasItem ` shaders are used to draw all 2D - objects in Godot, while :ref:`Spatial ` shaders are - used to draw all 3D objects. +:ref:`CanvasItem shaders ` are used to draw all 2D +objects in Godot, while :ref:`Spatial ` shaders are used +to draw all 3D objects. In order to use a shader it must be attached inside a :ref:`Material ` which must be attached to an object. Materials are a type of diff --git a/tutorials/shaders/your_first_shader/your_first_3d_shader.rst b/tutorials/shaders/your_first_shader/your_first_3d_shader.rst index 5a77d7f17..dfa8fcc08 100644 --- a/tutorials/shaders/your_first_shader/your_first_3d_shader.rst +++ b/tutorials/shaders/your_first_shader/your_first_3d_shader.rst @@ -87,9 +87,9 @@ and thus allow us to add more detail. .. image:: img/plane-sub.png :ref:`PrimitiveMeshes `, like PlaneMesh, only have one - surface, so instead of an array of materials there is only one. Click - beside "Material" where it says "[empty]" and select "New ShaderMaterial". - Then click the sphere that appears. +surface, so instead of an array of materials there is only one. Click +beside "Material" where it says "[empty]" and select "New ShaderMaterial". +Then click the sphere that appears. Now click beside "Shader" where it says "[empty]" and select "New Shader". @@ -181,8 +181,8 @@ Click beside it where it says "[empty]" and select "New NoiseTexture". Then in your NoiseTexture click beside where it says "Noise" and select "New OpenSimplexNoise". -:ref:`OpenSimplexNoise ` is used by the NoiseTexture to - generate a heightmap. +.. note:: :ref:`OpenSimplexNoise ` is used by the NoiseTexture to + generate a heightmap. Once you set it up and should look like this.