User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21

Thread: [Request] 3D Card Shader

  1. #11
    Fusion 2.5 Developer

    Join Date
    Nov 2018
    Location
    Egypt
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks + i hope if someone can fix it

  2. #12
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleFirefly 3D Module
    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)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    314
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    looks like it needs to be normalised or limited to 1.0 🤔

  3. #13
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,553
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Here's my attempt at maths:

    Imagine you're looking down on the top edge of the card (red line), and rotating it to the blue angle.



    We'll just rotate around the Y axis, which means the Y coordinates will not change, so we can ignore them for now.
    The red line is the input X axis (also the card's width before rotating).
    The blue line is the same length, but rotated by angle tiltX (in this case 60 degrees) around the centre (0.5, 0.5, 0.5 - as always in a shader, coordinates are in the range 0-1).
    To get the pixel to sample, we divide the distance from A to B, by the distance from A to C. If In.x < A.x it is beyond the left edge of the card; if In.x > C.x it is beyond the right edge of the card.
    Note that at this point, we just have an orthographic projection - there's no perspective effect yet (that will be done using the z value later).

    This all works fine for tilting in either one direction or the other, but not both.
    So how do we combine them?

    Unfortunately, there's absolutely nothing on the internet about how to do this in a pixel shader, because it's something you would always do in a vertex shader.

  4. #14
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleFirefly 3D Module
    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)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    314
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Rotate 45
    Scale x
    Rotate -45

  5. #15
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,553
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by fnkycoldmadeanr View Post
    Rotate 45
    Scale x
    Rotate -45
    Would you care to elaborate?

  6. #16
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    879
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MuddyMole View Post
    Would you care to elaborate?
    Agreed. I was just trying to figure that out myself.

  7. #17
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    879
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by KareemGames View Post
    Hello

    Can someone make the 3d card shader effect please

    i need it like this shader in this video in min 10

    https://www.youtube.com/watch?v=UGTS...tupidButterfly

    it's made in clickteam but idk how so can some one help?
    Well this is not a shader effect by any means but it does a nice job depending on how you position it over the card.
    Click image for larger version. 

Name:	cardshader.png 
Views:	40 
Size:	42.1 KB 
ID:	31080

  8. #18
    Fusion 2.5 Developer

    Join Date
    Nov 2018
    Location
    Egypt
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by VBEinc View Post
    Well this is not a shader effect by any means but it does a nice job depending on how you position it over the card.
    Click image for larger version. 

Name:	cardshader.png 
Views:	40 
Size:	42.1 KB 
ID:	31080
    https://youtu.be/JFmrHaWOosY
    This is another one made it but he don't want to share it i think

  9. #19
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    879
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by KareemGames View Post
    <a href="https://youtu.be/JFmrHaWOosY" target="_blank" rel="nofollow">
    This is another one made it but he don't want to share it i think
    Pretty cool!

  10. #20
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    879
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Link to a modified .mfa originally by Muddymole. I added two other add ons. Fake shader and rotate left to right only.
    LINK: https://drive.google.com/file/d/1SC8...ew?usp=sharing

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. [REQUEST] 3D LUT Shader
    By TreyM in forum Shader Development
    Replies: 29
    Last Post: 28th August 2022, 09:47 PM
  2. [REQUEST] Sonic Fade Shader request
    By SHINGEN in forum Shader Development
    Replies: 5
    Last Post: 9th April 2020, 03:31 PM
  3. [REQUEST] Some Shader Effects
    By Game_Master in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 13th July 2009, 02:12 PM
  4. Pixel shader request.
    By Nifflas in forum Hardware Accelerated Runtime
    Replies: 5
    Last Post: 8th May 2008, 11:50 AM
  5. [Request] Card Extension
    By DizzyDoo in forum Extension Development
    Replies: 26
    Last Post: 7th February 2008, 03:02 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
  •