How do I imporl glsl file?

Godot Version 4.2.1

How do I import glsl file to godot.

I have tried to import shade.glsl to godot but every time it raises a load error saying

Error importing GLSL shader file: ‘res://shade.glsl’. Open the file in the filesystem dock in order to see the reason.

But the file itself shows up in the filesystem dock. I don’t know what is going on please help me.

Godot does not use GLSL shading language:

1 Like

I wanted to write a compute shader.

When you double click on the glsl file, it should open a dock at the bottom (where the Debugger is) that will show you why it failed to import.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.