User Tag List

Results 1 to 2 of 2

Thread: Ovine Lens Shader

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Ovine Lens Shader

    This is a modified version of Looki's shader (which is also included in the zip file) that will use a supplied image to derive the lens effect which is applied only to the object, layer or frame it is assigned to as opposed to the combined background image. This shader is useful when you want to localise a lens effect to something specific. The lens image can be edited in MMF.

    Note that as this uses an image, you can not modify the lens at runtime other than changing the parameters. Looki's background lens object should be used when you need to apply the effect to the entire background or when you want to be able to modify the lens image while the game is running.
    Attached files Attached files
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ovine Lens Shader

    This sounds extremely useful. I can imagine two more useful parameters though that would be great for modulations: an x and y offset for the image. I'm not good with pixel shaders yet though, so I have no idea how to implement it.

Similar Threads

  1. Lens Shader
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th January 2014, 08:23 AM
  2. Looki's lens shader collapsed image when edge of screen
    By ASD in forum Shader Development
    Replies: 0
    Last Post: 20th June 2013, 08:22 PM
  3. HWA Mode 7 using lens shader
    By happygreenfrog in forum File Archive
    Replies: 7
    Last Post: 5th April 2013, 01:46 PM
  4. Lens shader
    By Looki in forum Shaders
    Replies: 0
    Last Post: 30th December 2009, 04:49 PM
  5. HWA Lens Object or Pixel shader?
    By LazyCoder in forum Extension Development
    Replies: 5
    Last Post: 2nd January 2008, 05:59 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
  •