dfranx / SHADERed

Lightweight, cross-platform & full-featured shader IDE
https://shadered.org/
MIT License
4.27k stars 269 forks source link

How can I make SHADERed support the Shader Model 6.0+ of DirectX12? #291

Open James-Xue opened 2 years ago

James-Xue commented 2 years ago

I have a shader source file .hlsl, but I failed to compile on SHADERed. I guess it's probably because SHADERed doesn't support the Shader Model 6.0+ of DirectX 12. So I was wondering how to make the SHADERed to support Model 6.0+ of DirectX 12? Can someone please help my question?

SirKnightTG commented 1 year ago

SHADERed uses OpenGL not DirectX. Also, it's impossible for anyone to help without seeing the shader and the error message. If the shader uses features that are only found in Direct3D 12 / Vulkan, then SHADERed will not work as, like I said, it uses OpenGL which has fallen behind in features.