Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic Embedding
#26
(11-06-2019, 05:16 AM)megamarc Wrote: I don't know if it's even supported under GL ES 2.0 required for mobile and RPi.

OpenGL ES 2's feature set is roughly analagous to OpenGL 3 for Desktop. As such, basic glsl shaders ARE supported by vanilla OpenGL ES 2. Also, the solution I came up with for using Tilengine to draw directly to an SDL2 surface seems to be working well, so the pixel data is not a concern. And I created a basic demo/proof-of-concept for running glsl shaders on the Raspberry Pi before I attempted to tie Tilengine into it. Not only can I run OpenGL shaders on the Pi, but I can also access and use the framebuffer for render-to-texture effects. I've also been building all of my trials and prototypes on the Raspberry Pi 2/3 during development. Everything I've made so far runs on the actual hardware.

Now, I don't necessarily think that the performance of this is going to be better than just using straight Tilengine. In fact, I kind of assumed that it wouldn't be faster. The point of this was to increase flexibility by adding desirable features. Keeping performance within manageable tolerances was my objective for dealing with frame-rates.

Having programmable shader support will allow for such things as color-keyed transparencies and potential integration with fore or back ground 3D rendering.
Reply


Messages In This Thread
Basic Embedding - by Richard Kain - 09-08-2018, 09:46 AM
RE: Basic Embedding - by Domarius - 09-08-2018, 11:31 PM
RE: Basic Embedding - by Richard Kain - 09-11-2018, 05:43 AM
RE: Basic Embedding - by megamarc - 09-11-2018, 07:19 AM
RE: Basic Embedding - by Richard Kain - 09-11-2018, 08:52 AM
RE: Basic Embedding - by megamarc - 09-13-2018, 06:22 AM
RE: Basic Embedding - by Richard Kain - 10-18-2018, 06:45 AM
RE: Basic Embedding - by megamarc - 10-18-2018, 11:34 PM
RE: Basic Embedding - by Richard Kain - 10-23-2018, 03:49 PM
RE: Basic Embedding - by megamarc - 10-24-2018, 05:17 PM
RE: Basic Embedding - by Richard Kain - 01-15-2019, 03:37 PM
RE: Basic Embedding - by megamarc - 01-22-2019, 02:58 AM
RE: Basic Embedding - by Richard Kain - 04-18-2019, 01:54 AM
RE: Basic Embedding - by megamarc - 04-18-2019, 07:26 PM
RE: Basic Embedding - by Richard Kain - 04-19-2019, 02:52 AM
RE: Basic Embedding - by megamarc - 04-19-2019, 05:39 PM
RE: Basic Embedding - by Richard Kain - 04-20-2019, 06:56 AM
RE: Basic Embedding - by megamarc - 04-23-2019, 07:20 PM
RE: Basic Embedding - by Richard Kain - 05-01-2019, 05:23 PM
RE: Basic Embedding - by megamarc - 05-01-2019, 09:26 PM
RE: Basic Embedding - by Richard Kain - 10-11-2019, 06:09 AM
RE: Basic Embedding - by megamarc - 10-14-2019, 08:31 PM
RE: Basic Embedding - by Richard Kain - 11-05-2019, 03:39 AM
RE: Basic Embedding - by Richard Kain - 11-05-2019, 04:46 AM
RE: Basic Embedding - by megamarc - 11-06-2019, 05:16 AM
RE: Basic Embedding - by Richard Kain - 11-06-2019, 06:08 AM
RE: Basic Embedding - by Richard Kain - 11-08-2019, 02:38 AM
RE: Basic Embedding - by megamarc - 11-09-2019, 02:27 AM
RE: Basic Embedding - by RootBeerKing - 11-10-2019, 10:54 PM
RE: Basic Embedding - by megamarc - 11-11-2019, 06:01 PM
RE: Basic Embedding - by RootBeerKing - 11-11-2019, 07:53 PM
RE: Basic Embedding - by megamarc - 11-12-2019, 02:18 AM
RE: Basic Embedding - by Richard Kain - 11-12-2019, 04:06 PM
RE: Basic Embedding - by RootBeerKing - 11-13-2019, 05:42 AM
RE: Basic Embedding - by Richard Kain - 11-13-2019, 05:36 AM
RE: Basic Embedding - by megamarc - 11-13-2019, 08:25 AM
RE: Basic Embedding - by RootBeerKing - 11-13-2019, 08:42 AM
RE: Basic Embedding - by megamarc - 11-13-2019, 06:08 PM
RE: Basic Embedding - by Richard Kain - 11-14-2019, 04:53 AM
RE: Basic Embedding - by Richard Kain - 11-14-2019, 08:30 AM
RE: Basic Embedding - by megamarc - 11-28-2019, 12:04 AM
RE: Basic Embedding - by megamarc - 12-05-2019, 08:22 PM
RE: Basic Embedding - by adreajessica - 11-25-2021, 02:42 PM
RE: Basic Embedding - by Richard Kain - 01-22-2022, 06:00 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)