HLSL and HxSL

Subscribe to HLSL and HxSL 5 posts

avatar for jasonjie88 jasonjie88 302 posts
Flag Post

So lately I’ve decided I wanted to learn HaXe, because it can publish to all platforms. But then I read about Direct3D – it has this language called DirectX, a HLSL (High Level Shading Language). But I can’t really find any articles on how to implement it into a project. And it was around that time I came across HxSL – the HaXe drawing API. But I haven’t read much about it, so I’m not sure how good it really is. So I just wanted to ask which would be better (assuming I’ll be typing my code in HaXe)?

 
avatar for Drakim Drakim 1139 posts
Flag Post

HxSL is not a Haxe drawing API. It’s a shader language made so that you don’t have to write assembler style code to get your own shaders working in a 3d environment.

It’s very cool, but it’s not something you can just use as a drop in subsitute of “graphics”. I would recommend learning Haxe by doing some simple blitting (or displaylist stuff if that is what you are into) first.

 
avatar for JohnnyBohnny JohnnyBohnny 113 posts
Flag Post

Does implementing DirectX require a license from Microsoft?

 
avatar for sHTiF sHTiF 23 posts
Flag Post

Nope

 
avatar for truefire truefire 3011 posts
Flag Post

OpenGL > DirectX

Don’t support the vicious cycle that is Microsoft.

Read this.

And this.