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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Phynx

Pages: [1]
1
General discussions / Re: The new sf::shader additions
« on: May 30, 2016, 05:39:55 pm »
Thanks, I will need to look into those for sure since with any sfml build newer than the stable 2.3.2 I run into a stack overflow when loading textures in a thread

2
General discussions / The new sf::shader additions
« on: May 27, 2016, 09:47:11 pm »
I just had to register and say thanks for the new features that was added to sf::shader, being able to set array uniforms is what I've needed for awhile.
was wondering about being able to set custom struct arrays, would that be possible now?

ex:

#define MAX_LIGHTS 32

struct Light{
vec3 position;
vec4 color;
};

uniform Light sceneLights[MAX_LIGHTS];

Pages: [1]