User Tag List

Results 1 to 1 of 1

Thread: Android Exporter Textured Shader

  1. #1
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    3 Post(s)
    0 Thread(s)

    Android Exporter Textured Shader

    Hello everyone;

    I am working on shader for android exporter and it's very difficult eg how to decode sprite to bmp and the rest.
    However to test if apk file can embed binary file i just loaded 1 picture to fusion editor as binary file and work to
    converting to gl texture, after that load this one into gl texture and apply shader on this texture;

    Result was usable with an extension; So let me describe the spec and instructions.

    1 Copy Spriteshader.mfs to Extensions\Unicode
    2 Copy to Data\Runtime

    3 open a new android ouya project with fusion;
    API level 29, Version min level 6.0 , Version target level 9.0

    4 insert Sprite shader object
    5 go to binary file and import just one image file; this will use index 0;

    6 open editor event and setimage index to 0
    7 setfragment shader from text string


    Open example and look how it's done;

    spr4.png spr5.png spr1.jpg spr2.jpg spr3.jpg

    Have fun and thanks for the feed back ;
    Attached files Attached files

Similar Threads

  1. Android Exporter Glsl Shader
    By Gigatron in forum Android Export Module 2.5
    Replies: 6
    Last Post: 15th August 2021, 06:13 PM
  2. Canvas Sampler Shader for Html5 Exporter
    By Gigatron in forum HTML5 Export Module 2.5
    Replies: 1
    Last Post: 1st August 2020, 05:00 AM
  3. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  4. Replies: 14
    Last Post: 28th September 2015, 03:12 PM
  5. OpenGL textured 3d example
    By SEELE in forum File Archive
    Replies: 20
    Last Post: 22nd October 2011, 05:01 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