Browse Source

Add note about Compute Shader renderer

Calvin Wong 2 years ago
parent
commit
0f75624f34
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
 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:
 Let's take a look at this compute shader code: