Finally
Finally
Well after a day and i half, i managed to implement a normal map shader. Shaders are such a pain when you can't debug them.. ugg
- Attachments
-
- image12.png
- (149.88 KiB) Not downloaded yet
Curiosity killed the cat, satisfaction brought him back
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Finally
Have you tried using the Graphics debugger?
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: Finally
No, no i haven't .. will have to look into that
Curiosity killed the cat, satisfaction brought him back
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Finally
Just a heads up, when you do the pixel shader, I think it only tests pixel (0,0) so I had to move the camera so that the object I wanted to test would be in that top left corner.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: Finally
Does it do glsl, this is a fragment shader with openGl in sfml, same as a pixel shader ? i suppose ?. I'll just poke around and have a look
Curiosity killed the cat, satisfaction brought him back
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Finally
Nah, I don't think so, I believe it's just a D3D thing.
You could probably find opengl debuggers online somewhere.
You could probably find opengl debuggers online somewhere.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: Finally
Hmmm, yeah I don't know what tools you'd need to use to debug OpenGL shaders. I'd be interested to hear if you come up with something though
Chili