GLSL or HLSL?

Everything related to 3D programming
User avatar
minimy
Enthusiast
Enthusiast
Posts: 619
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

GLSL or HLSL?

Post by minimy »

Greetings! I have a doubt, I don't see in subsystem folder opengl, but it seems that the saders in PB work with GLSL. Should I use GLSL for shaders or HLSL?
I'm trying to learn shader language (a nightmare :mrgreen: ), what should I learn, GLSL?
If translation=Error: reply="Sorry, Im Spanish": Endif
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: GLSL or HLSL?

Post by DarkDragon »

Both, depending on the renderer. Or use SPIR-V, you can also convert it to HLSL and GLSL.

https://github.com/KhronosGroup/SPIRV-Cross
bye,
Daniel
User avatar
minimy
Enthusiast
Enthusiast
Posts: 619
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: GLSL or HLSL?

Post by minimy »

Thanks DarkDragon, interesting!
If translation=Error: reply="Sorry, Im Spanish": Endif
Post Reply