A small tool based on official version in this thread:
Please login to see this link.
modified a bit.;)
Please login to see this attachment.
With this tool, You can compile your shader without install Windows SDK, and don't need modified batch file each time when you need to compile a new file.
Please login to see this attachment.
Hope it helps.
:cf25+:
Fusion 2.5+ DX11 Shader Compile Tool - Custom By Defisym
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
You are awesome!
-
Thank you,great tool!!!:D
-
Merci
Thank you -
What an awesome contribution!! Thank you so much
-
Updated a bit.
Now you can simply drag and drop the .hlsl files onto the batch to compile them.
Compiled .fxc file will output into the source file directory.
Please login to see this attachment.
Please login to see this attachment.
Please login to see this attachment.
Please login to see this attachment. -
Great, I'll use it too
May I suggest that you change the compilation of the premultiplied version to:
Code
Display More[color=red]find /c "ps_main_pm" "%FileName%.hlsl" if %errorlevel% equ 1 goto no_premultiplied[/color] echo ------------------------------------ echo. echo Compiling DX11 premultiplied version call :CompileShaderHLSL4 "%FileName%" ps ps_main_pm echo . if %error% == 0 ( echo DX11 premultiplied version compile success! echo. ) else ( echo DX11 premultiplied version compile failed! echo. ) [color=red]:no_premultiplied[/color]
as not every shader needs a specific premultiplied version.
-
Is this post a solution to convert P3D shaders to DX11? I don't understand anything but would be happy if it is going towards updating so his examples work well under DX11 as it is so much faster!
-
Is this post a solution to convert P3D shaders to DX11? I don't understand anything but would be happy if it is going towards updating so his examples work well under DX11 as it is so much faster!
sorry but no, it's just a compile tool modified a bit from the official version posted by clickteam, only can help you compile faster and easier.
-
Great, I'll use it too
May I suggest that you change the compilation of the premultiplied version to:
.........
as not every shader needs a specific premultiplied version.
Thank you for your suggestion
Please login to see this attachment.Also fixed a issue when compile a file with spaces in it's filename.
-
Sorry if this is a dumb question. We still have to do the first several steps of Yves' instructions, in order to first create an hlsl file from the fx file. Is that right? Is it possible to automate that in any way?
-
Sorry if this is a dumb question. We still have to do the first several steps of Yves' instructions, in order to first create an hlsl file from the fx file. Is that right?
Yes, you are right.
Actually, this is a COMPILE tool, not a CONVERT tool. You still need to follow Yves' steps to rewrite hlsl file first.
Is it possible to automate that in any way?I think it will be possible, but beyond my ability.
for simple shaders, you just need to find and replace keywords, but may not work for complicate ones without any adjustments.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!