User Tag List

Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 33

Thread: Converting DX9 shaders to DX11

  1. #21
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    90
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by waw_demmon View Post
    I tried to convert my shader...
    I edited my script and did all requested replacements...

    But the true nightmare start with fxc.exe....
    I installed Visual Studio Community 2019 and 2017 with a lot of random options and huge packages but I never found fxc.exe...
    What I need to install this legendary SDK ?

    There are a download link and detailed procedure somewhere ?

    Thank you for help
    Yes it's in Windows SDK.
    You can check this thread:https://community.clickteam.com/threads/105517-Fusion-2-5-DX11-Shader-Compile-Tool-Custom-By-Defisym

  2. #22
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,071
    Mentioned
    119 Post(s)
    Tagged
    2 Thread(s)
    I've just updated the top post with a section about samplers that you can now define in the XML files (build 292.6+).

  3. #23
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    waw_demmon's Avatar
    Join Date
    Oct 2006
    Location
    Saguenay, Québec
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank for the complete tools !! it's awesome !

    But sadly, my shader won't compile :'(


    E:\Multimedia Fusion 2.5\Effects\cde\cd_texture.hlsl(19,8-14): error X3530: cannot mix packoffse
    t elements with nonpackoffset elements in a cbuffer
    E:\Multimedia Fusion 2.5\Effects\cde\cd_texture.hlsl(20,8-14): error X3530: cannot mix packoffse
    t elements with nonpackoffset elements in a cbuffer
    E:\Multimedia Fusion 2.5\Effects\cde\cd_texture.hlsl(21,8-12): error X3530: cannot mix packoffse
    t elements with nonpackoffset elements in a cbuffer
    E:\Multimedia Fusion 2.5\Effects\cde\cd_texture.hlsl(22,8-12): error X3530: cannot mix packoffse
    t elements with nonpackoffset elements in a cbuffer
    E:\Multimedia Fusion 2.5\Effects\cde\cd_texture.hlsl(23,8-12): error X3530: cannot mix packoffse
    t elements with nonpackoffset elements in a cbuffer
    E:\Multimedia Fusion 2.5\Effects\cde\cd_texture.hlsl(26,7-12): error X3530: cannot mix packoffse
    t elements with nonpackoffset elements in a cbuffer

  4. #24
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,071
    Mentioned
    119 Post(s)
    Tagged
    2 Thread(s)
    Difficult to see what's the problem without seeing the code.

  5. #25
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    waw_demmon's Avatar
    Join Date
    Oct 2006
    Location
    Saguenay, Québec
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, I forget to join it.

    There is the shader that I wrote that I try to convert.

    Thank you for help
    Attached files Attached files

  6. #26
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    waw_demmon's Avatar
    Join Date
    Oct 2006
    Location
    Saguenay, Québec
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm still stuck with the problem

  7. #27
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,071
    Mentioned
    119 Post(s)
    Tagged
    2 Thread(s)
    Ah sorry I didn't see you posted the code.

    You have to move img and imgSampler out of the cbuffer:

    Texture2D<float4> img : register(t1);
    sampler imgSampler : register(s1);

    cbuffer PS_VARIABLES : register(b0)
    {
    float offsetX;
    float offsetY;
    float sizeX;
    float sizeY;
    float alpha;
    bool hidden;
    };

  8. #28
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    waw_demmon's Avatar
    Join Date
    Oct 2006
    Location
    Saguenay, Québec
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you,
    Now the shader compile ... but in game I don't got what I expected

    You can see in my screenshot what I want (and what I have with DX9) VS what I got with DX11.


    Click image for larger version. 

Name:	sshot-1.jpg 
Views:	43 
Size:	26.7 KB 
ID:	27083

    Click image for larger version. 

Name:	sshot-2.jpg 
Views:	44 
Size:	29.2 KB 
ID:	27082


    In my previous zip, you also have the original code of the woring .fx file for DX9
    please help me to find a solution

    Thank you

  9. #29
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    921
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Would it be possible to convert the Health Bar Shader by @BartekB to DX11? Pretty please, with sugar on top?

  10. #30
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    622
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    @piscesdreams , hey! Thanks for purchasing the shader. My laptop is currently at repair but when it comes back I'll try to make a converted version.
    I'd also like to hear if you have any additional feature requests
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/7RNXFrC
    Dungeon Raiders! - Link soon™

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 6th November 2014, 03:44 PM
  2. Flipping(giant, high animated) active objects without shaders(or any better shaders?)
    By DinnerSonic in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th September 2013, 12:57 PM
  3. Curious on converting pixel shaders to background
    By Pixelthief in forum Hardware Accelerated Runtime
    Replies: 13
    Last Post: 3rd May 2010, 07:01 PM
  4. Converting to Hex
    By XanderChaos in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th February 2009, 05:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •