Browse Source

Merge pull request #6600 from ctwobosius/compute-shader-renderer-note

Add note that Compute Shaders only work with a Vulkan renderer
Max Hilbrunner 2 years ago
parent
commit
93b6e0977b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tutorials/shaders/compute_shaders.rst

+ 3 - 1
tutorials/shaders/compute_shaders.rst

@@ -30,7 +30,9 @@ So now lets work with a compute shader to see how it really works.
 Creating a ComputeShader
 ------------------------
 
-To begin using compute shaders, create a new text file called "compute_example.glsl". When you write compute shaders in Godot, you write them in GLSL directly. The Godot shader language is based off of GLSL so if you are familiar with normal shaders in Godot the syntax below will look somewhat familiar.
+To begin using compute shaders, ensure you are using a Vulkan based renderer (the Forward+ or Mobile options), as compute shaders are currently only supported on Vulkan.
+
+Create a new text file called "compute_example.glsl". When you write compute shaders in Godot, you write them in GLSL directly. The Godot shader language is based off of GLSL so if you are familiar with normal shaders in Godot the syntax below will look somewhat familiar.
 
 Let's take a look at this compute shader code: