Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2021-05-18 00:00:00Z and 2021-05-19 00:00:00Z
Avatar
unexploredtest 2021-05-18 06:49:49Z
Teeworlds uses OpenGL right? Where are the shaders located?
Avatar
we use legacy opengl. there aren't any shaders at least in teeworlds (edited)
👍 1
06:52
DDNet has some fragment shaders but they still keeps gl1 support, so the shader doesn't do anything fancy other than improve performance really.
Avatar
Avatar
TsFreddie
we use legacy opengl. there aren't any shaders at least in teeworlds (edited)
unexploredtest 2021-05-18 06:53:40Z
And all of the rendering stuff happens in src/game/client/ ?
Avatar
It actually happens in src/engine/client
👍 1
Avatar
unexploredtest 2021-05-18 06:56:19Z
What does src/game/client/ do?
06:57
The filenames are kinda counterintuitive :/
Avatar
backend_sdl does the actual rendering. graphics & graphics_threaded issues commands to the backend and provides an abstract interface of rendering. anything in src/game/client does the logic and calls the graphics interface, so codes in game/client doesn't directly interact with textures or any graphic buffers. (edited)
Avatar
Avatar
TsFreddie
backend_sdl does the actual rendering. graphics & graphics_threaded issues commands to the backend and provides an abstract interface of rendering. anything in src/game/client does the logic and calls the graphics interface, so codes in game/client doesn't directly interact with textures or any graphic buffers. (edited)
unexploredtest 2021-05-18 07:01:43Z
Aha makes sense
07:01
Thanks
Avatar
Uses interface to implement Unity backend - wakes up from a weird dream
Exported 11 message(s)