Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Shader - support for sampler1d, 2d & 3d  (Read 3083 times)

0 Members and 1 Guest are viewing this topic.

nico69

  • Newbie
  • *
  • Posts: 22
    • View Profile
Shader - support for sampler1d, 2d & 3d
« on: May 13, 2017, 12:44:44 pm »
Now, the SFML allow us to set a texture as a Sampler2D, but we can't send custom data to shader as a sampler.
Sampler are basicaly dynamic array of vec4.

We need something to allow the program to send Sampler as uniform.