Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Crossplatform GLES shaders


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Mar 12, 2018 11:07 AM Last Post By: Gerhard Eichhorn
Gerhard Eichhorn

Posts: 13
Registered: 9/20/02
Crossplatform GLES shaders  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 6, 2018 5:57 PM
It should be possible to create crossplatform fragment and vertex shaders if you are happy with GLES.
On all platforms there is WebGL. This includes a compiler for GLES shaders to local hardware.

It should be possible to use the compiled shaders in Firemonkey even in Windows and OSX.

Perhaps there is even a way to use the WebGL-shader-compiler out of a delphi application.

Perhaps Embarcadero is even capable to manage that such a compiler can be redistributed together with our apps.

This would be more straight forward than the solution of the Australian Delphi Community: https://www.adug.org.au/technical/fmx/how-to-create-your-own-firemonkeyimage-filtereffect-to-use-with-firemonkey/

What do you think?
Gerhard Eichhorn

Posts: 13
Registered: 9/20/02
Re: Crossplatform GLES shaders  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 12, 2018 11:05 AM   in response to: Gerhard Eichhorn in response to: Gerhard Eichhorn
Found this: [Translates Webgl shader to HLSL|https://www.khronos.org/registry/webgl/sdk/tests/extra/webgl-translate-shader.html]

Edited by: Gerhard Eichhorn on Mar 12, 2018 11:06 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02