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

Pages: [1]
1
Graphics / Re: Do I need to set a GLSL version from the SFML library?
« on: September 24, 2020, 03:07:22 pm »
That's right yeah, using the SFML graphics library but writing custom shaders to call `draw()` with.

Is there something in the way SFML library is written or compiled that means it relies on GLSL version 120 when using the SFML graphics library on unix OS's?

2
Graphics / Do I need to set a GLSL version from the SFML library?
« on: September 22, 2020, 09:26:40 pm »
For about a month on and off I've been trying to find out how GLSL versions work in SFML. Do I need to use something in the SFML API to set a GLSL version? Or is SFML built to use a specific GLSL version? I've tried googling this for a while, and have just been searching this forum, and the closest I get to answers never seem to shed any light on this. I've tried just setting arbitrary versions of GLSL using the `#version` preprocessor in my shaders as well, but every one I've tried throws an error...

First post here, thanks in advance for your patience,

Pete

Pages: [1]