ncannasse / hxsl

Haxe Shader Language, a high level 3D shader language for Haxe
87 stars 10 forks source link

It does not seem tow ork with haxe3? #24

Open blurmonk opened 11 years ago

blurmonk commented 11 years ago

Hi

I just downloaded the lib and the samples, and I cannot compile them,. Is it that this is not compatible with H3?

haxe -cp ../lib -swf C:/DEVEXAMPLES/haxe3/hxsl/samples/0_cube/test.swf -swf-header 800:600:60:FFFFFF --flash-strict -swf-version 11 -main Test -lib hxsl Test.hx:13: characters 9-12 : Unknown variable 'pos' c:\DEVTOOLS\HAXE\haxe\lib/hxsl/git/hxsl/Shader.hx:322: characters 2-11 : Build failure Build halted with errors (haxe.exe

thanks

ScrambledRK commented 11 years ago

check out my fork (https://github.com/ScrambledRK/hxsl) - I fixed the samples (at least the first one) you have to reference it via input.pos as far as I remember ...

JesseTG commented 10 years ago

If that forked was merged in, can't this issue be closed?

joeytwiddle commented 10 years ago

Is the fork compatible with haxe2? There may still be developers using haxe2.

ScrambledRK commented 10 years ago

joeytwiddle no I doubt it :(