/Funky-Fisheye

A customizable Fisheye Lens shader for Clickteam Fusion.

Primary LanguageHLSLMIT LicenseMIT

Funky Fisheye

Purpose

The purpose of this shader was to provide a more customizable Fisheye Lens shader that could allow the user more flexability and usability in projects.

Some of the possible use cases for this shader can be:

  • Inversion of Fisheye Lens Images:

Uninverted Image Example Inverted Image Example

  • Magnifying Glass Effect:

Magnifying Glass Example

  • CRT Bulge Effect:

CRT Example

Compiling:

Requisites:

FXC (apart of the Windows SDK)

Windows:

  1. Insert FXC.exe into the root directory or insert the path for FXC in line 11 of CompileShader.bat
  2. Run CompileShader.bat
  3. You should get a successful compilation message:
fxc.exe "funky_fisheye.hlsl" /nologo /WX /Ges /Qstrip_reflect /Qstrip_debug /Tps_4_0 /Eps_main /Fo"funky_fisheye.fxc"
compilation object save succeeded; see ROOT\funky_fisheye.fxc

fxc.exe "funky_fisheye.hlsl" /nologo /WX /Ges /Qstrip_reflect /Qstrip_debug /Tps_4_0 /Eps_main_pm /Fo"funky_fisheye.premultiplied.fxc"
compilation object save succeeded; see ROOT\funky_fisheye.premultiplied.fxc
.
Shaders compiled ok

TODO

  • Android Support
  • MacOS Support
  • IOS Support
  • Tiling Support in DirectX11