Jump to content
  • Advertisement
Alex D

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!