Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What shader languages are used in cross-platform games? PS3 uses Cg, PS4 PSSL, Xbox & Windows use HLSL and OpenGL on Mac/Linux/Smartphones/Tablets use GLSL. Are there converters from one to the other language? How do big engines like Unreal oder CryEngine handle this?


Either have an abstraction layer (another language or a user interface) or a translator.


Windows has GLSL as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: