Thx ikam for working code, its looks amazing, but my pc have so low fps on this code
Btw, need to find list of GLSL and HLSL shader commands to compare and better understand of all code.
Try to read some tutorials and manuals about writing shaders then. Need to know basic things about coding.
PS. I continue my work on porting GLSL to HLSL code
PS2 what I find, about this two languages, that now most people go to GLSL because of cross platform and mobile. So HLSL in near future will be useless? But again I find tool that produce code from HLSL to GLSL, maybe I have enough luck and find tool that convert it another way - GLSL to HLSL