Using shaders in JavaFX?

Mario Torre neugens at redhat.com
Fri Feb 8 08:59:31 PST 2013


Il giorno ven, 08/02/2013 alle 08.31 -0800, Richard Bair ha scritto:

> One thing we've talked about was having Shader extend Paint (or
> Effect). I think maybe if a shader extended Effect it would fit into
> our system fairly naturally?

This seems pretty intuitive too.

> Of course we're only talking about fragment shaders here. But once we
> make something like that available I suspect people will also want
> geometry shaders soon after.

Maybe be give an handle to the OpenGL (or DirectX) context for custom
rendering?

I can see this as a useful feature for embedding OpenGL scenes in
JavaFX, but I can also see how many troubles would result from this, so
not sure if it's actually a good idea.

Cheers,
Mario




More information about the openjfx-dev mailing list