SFML community forums

Help => Graphics => Topic started by: Karleon on September 06, 2013, 03:04:54 pm

Title: Vertex properties
Post by: Karleon on September 06, 2013, 03:04:54 pm
Hello,

I'm using SFML 2.0. I am not an expert on openGL, so please correct me if I'm wrong.

As far as I know, there are multiple properties for vertex in openGL. From what I have seen, in SFML, only texture coords, position, and color are used.

I need to make use of some extra attribute in order to use it in a vertex shader.

From this tutorial I saw this list of attributes:
http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php

I would like to use the gl_normal, or gl_fogcoord, or just use my own attribute, but I see no way to set these attributes on vertex by using SFML.

Is there any way to modify these attributes or using custom attributes on vertexes using SFML?


Thanks,
Title: Re: Vertex properties
Post by: Laurent on September 06, 2013, 03:22:57 pm
Nop, sorry.
Title: Re: Vertex properties
Post by: Karleon on September 06, 2013, 03:32:16 pm
Will this be implemented in future version of SFML?
Title: Re: Vertex properties
Post by: Laurent on September 06, 2013, 06:17:15 pm
Not in a near future.