Sprint 3: GLSL Shaders

preview_player
Показать описание
This is a rough laser beam effect I hacked up while trying to learn shader programming using OpenGL's shader language (GLSL), Java, the LWJGL (Light Weight Java Game Library), and Eclipse.

The result isn't exactly what I wanted...looks more like a cheap lightsaber. It was worth the time though, and I wanted to post it as proof that I got a shader to do SOMETHING after weeks of messing with it. :)
Рекомендации по теме
Комментарии
Автор

I thought shaders could not access tp the mpuse current position as gpu doesn’t know about cpu events, how did you manage that?

marcelomellado
Автор

this is the tutorial I used to teach myself shaders, it's the same stuff I was learning in college before I stopped going to class (though it was being taught a bit differently since the teacher made his own lessons, but basically the same concepts)

opengl-tutorialDOTorg

leodaza
Автор

What is a good way to start learning shaders?
Any good tutorials, books or something like that?

JeRoeNPoWNeDYou