PDA

View Full Version : DirectX (HLSL) to OPENGL (GLSL)



iris_raj
01-17-2007, 04:24 AM
Dear All,

I have a DirectX program(250 lines) with corresponding shader written in HLSL(100 lines)
I want to translate it into OPENGL with GLSL.
I have no idea of DirectX. What is the bestway to port these codes.I have very little time to understand DirectX.I am running out of time.
I think HLSL to GLSL should not a problem.

Please suggest

RAJESH.R

syljua
01-17-2007, 05:05 AM
You are in luck (at least for the shader part...);

http://sourceforge.net/projects/hlsl2glsl

br,
syljua