User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Porting subtract shader to OpenGL to use with Android?

  1. #1
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Porting subtract shader to OpenGL to use with Android?

    Hey guys!

    I've been working with my upcoming horror adventure game DISTRAINT like there's no tomorrow.
    I've designed the game and the controls so I could port it over to android soon after the release (this Halloween). I thought I could replace the shaders I use, but didn't think of subtract shader which is essential for my lightning system.

    I'm by no means technical guru with these stuff, so I'm asking if someone knows would it be possible to somehow port subtract shader to OpenGL and use with Android exporter?

    Thanks!

  2. #2
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can't edit so I'll just reply here.
    Okay, it seems subtract is sort of supported already, though I can't use it as a layer effect. Not sure how to set up lightning system otherwise.

    Any ideas?

  3. #3
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry guys I'll bump!

    I'm trying to figure if it's possible to make the subtract shader work as a layer effect for Android?
    I've also been thinking of alternative ways to do the similar effect, without shaders. But those methods have been quite performance intense.

    Does anyone know if this is possible, or have any suggestions? I'd need multiple light sources, and different shape of lights. Getting subtract to work on Android would be the best way.

    Thanks!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export 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)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,117
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Could CT respond to this? I think with all the upgrades/newer API's - this might be more achievable to implement now?

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export ModuleInstall Creator Pro
    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)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    928
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This may not work, but can you make a single color active using the subtract effect and scale it to the screen size?

  6. #6
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    piscesdreams, I'm doing my current lightning system similar to that. Using white active, and subtract as a layer effect. But using subtract for layer effect is not supported on android.
    You can use subtract shader on android, but not for the layer effect. If you use it in the active object, I don't think you can actually subtract from it, at least I have not figured how to do that.

    But yeah, phones are getting quite powerful these days so I believe supporting shaders could be the next big thing? Who knows!

    Anyway, a word from CT would be awesome!

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Sep 2015
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This might be a little old - but I'm going to bump this thread because noone I have spoken seems to know how to sort this issue out. I'm having the exact same issue as J3sseM - anyone found a fix?

  8. #8
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Clickteam, are you planning to support shaders with android exporter?
    Would be awesome to know so we could design our games properly or to look alternatives.

  9. #9
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Is there a reason we don't get a simple answer here?

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export ModuleInstall Creator Pro
    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)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    928
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Wow, over a year old and no official comment.

    Ever since Fusion was Greenlit on Steam there has been a drastic steady decline with the staffs interaction with the users. Clickteam is really starting to get out of touch with its users, I feel.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Porting Android app to iOS
    By piscesdreams in forum iOS Export Module 2.5
    Replies: 0
    Last Post: 2nd May 2014, 03:54 AM
  2. OpenGL Full pack! All OpenGL extensions for download
    By BtheDestroyer in forum Released Extensions
    Replies: 7
    Last Post: 6th April 2014, 11:00 AM
  3. Subtract Pixel Shader Extremely Messed Up
    By Corlen in forum Hardware Accelerated Runtime
    Replies: 0
    Last Post: 22nd March 2012, 10:47 AM
  4. Blend Coefficient with Subtract shader
    By Nifflas in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 3rd November 2010, 01:13 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
  •