ncannasse / hxsl

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

[feature] shader from 'puzzle' #13

Closed profelis closed 11 years ago

profelis commented 11 years ago

Something like https://github.com/andyli/puzzle very usefull thing for lights, post effects, etc

ncannasse commented 11 years ago

While I understand the logic I fail to see how it can be used. The best would be to be able to extend some shader and call super.fragment/super.vertex + add your own vars. But that's hard to get it right,

In h2d I'm adding many activable effects on the same shader base and it seems flexible enough so far