Topic Options
#183247 - 04/01/10 07:33 AM Ovine Lens Shader
AndyH
Forum Moderator


Registered: 06/29/06
Posts: 617
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.


Attachments
Ovine.zip (260 downloads)
Description: Ovine Lens Shader


_________________________
--
Andy H
ovine by design | Twitter | Vic20Gamer

Top
#193885 - 06/16/10 09:52 AM Re: Ovine Lens Shader [Re: AndyH]
Nifflas


Registered: 06/30/06
Posts: 1920
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.


Edited by Nifflas (06/16/10 09:53 AM)
_________________________
Get my MMF2 widgets and examples!

Top


Site Links
Forum Index

Home Page
Online Store
Tutorials
Download Center
French Forum

Quick File Links
Multimedia Fusion 2
Updates - build 249
Standard Version
Developer Version

Extension Packs
Bonus Pack 1
Bonus Pack 2
z33z Extension Pack
LIJI Extension Pack

The Games Factory 2
Latest Update - build 249
Community Links
Fusion Wiki
MFA Repository
Klikdisc
The Daily Click
GameBuilder

GB Arcade
TDC Arcade
Madword

Extensions
Neatwares Extension List
Extension Updater

Lacewing & Moo Server
Klikfarm

Money from your games
Click Chat
10 People are chatting
Game Builder

Visit the GameBuilder Homepage

Recent Download

[MMF2] Luor v1.505

Latest News