How can Minecraft shader know about the objects when just pixels are the input

I know that Minecraft Shaders are written in GLSL. Someone explained to me that it would get a set of pixel as an input and would return a bunch of new pixels. But how does the shader know about details like the positon of entitys, models, so on?



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept