Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [GLES fragment shader] RGB_Integer sampler
Forum Updated to NodeBB v4.3 + New Features

[GLES fragment shader] RGB_Integer sampler

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 108 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adrianf0
    wrote on last edited by
    #1

    I have a video stream from a custom camera (RGBx format) read by QML MediaPlayer and presented with VideoOutput (which has VideoSurface in RGBx format as well). I would like to execute shaders on the stream. However, the unform sampler2D provided to the shader in the QML ShadderEffect returns floats number (vec4). As the camera encodes some information in the pixel colours, I would like to access original integer values (uvec4). How could I achieve it?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved