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 - Erid

Pages: [1]
1
General discussions / Re: iOS and ANdroid support?
« on: February 04, 2024, 02:14:42 pm »
In Status:Yes You can, But since its will use OpenGL es, probably there some missing feature, There already discussion about this, so probably you need read other post before post this :P

2
General / Re: SFML only read and set uniform in GLSL Vertex Shader
« on: January 29, 2024, 04:48:29 am »
thank you, sorry if it bother because i new :P

3
General / SFML only read and set uniform in GLSL Vertex Shader
« on: January 29, 2024, 02:16:07 am »
In my project, I was trying to use Both Vertex shader and Fragment shader, so in sf::Shader shader and i load 2 file, fragment and vertex like this
shader.loadFromFile("some_directory_to_fragment", sf::Shader::Fragment);
shader.loadFromFile("some_directory_to_vertex", sf::Shader::Vertex);
its was okay, but when i want set uniform like this:
shader.setUniform("radius", 30);
Its only find in vertex file and create error radius not found while the radius is in fragment shader, i could like delete the vertex line but i cannot do that since i need modify vertex, so How i fix this?, also i new to sfml, sorry if the help little bit `weird`

Pages: [1]
anything