Jump to content
  • Advertisement
Alex D

OpenGL Doing fun stuff strictly in a fragment shader: how to do perspective and draw meaningful scenes?

This topic is 383 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This question isn't as much about how to do stuff as it is about how to find existing tutorials on doing this stuff. I just can't seem to find the right search terms.

I want to understand and do stuff like this: https://www.shadertoy.com/view/4ldGz4

Or this: https://www.shadertoy.com/view/4lsczM

Is there a name for that? What techniques will I need? I understand that a fragment shader takes pixel coordinates and returns the color of that pixel. Basically, if I need to draw a 3D scene, I need to implement a basic 3D engine and a rasterizer - all in the fragment shader?


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!