Elektrine lite

← Feed

@aeva@mastodon.gamedev.place

Post #3122598

2023-12-16 20:05 UTC

@cosmicmarley17@deadinsi.de in both cases you're applying a thunk to a batch of data to produce some kind of transformation, usually which results in a second batch. The two most common kinds of shaders are the vertex shader, which is a function that takes a vertex and returns a vertex; and the pixel shader, which is a function that takes a pixel (interpolated data from 3 vertices) and returns a pixel (usually just a color).

Replies (0)

No replies.