michiel | 2 months ago | 10 comments | 10 likes | 290 views
LostBoyz, ID Production, Ilja and 7 others like this!
A pixel shader is a small app that runs on your graphics card that is called for every pixel. BluffTitler stores pixel shaders in its effect files. Here's why this is a VERY powerful technique.
In the top left you can see the AdvancedMaterials\UVMapper effect applied to a picture layer. The results in perfect circles!
In the top right you can see the same show exported as a 3D model in the GLB format. The GLB format does not support pixel shaders. It supports colour per vertex, so all it can do is interpolating the 3 colours of the 3 edges of the triangle. This turns the circles into triangles.
Instead of using colour per vertex you could use a texture. This turns the triangles back into circles! But when you zoom in, it becomes blurry (bottom right) because the resolution of the texture is limited. In contrast, the pixel shader version remains razor sharp, no matter how far you zoom in!
The screenshots have been made using this installer template:
Picture\Star3D.bt
This is how the Picture\Star3D.bt show looks like exported as GLB and published on Sketchfab.
Very nice! But not as nice as the pixel shader powered BluffTitler version 😉
michiel, 2 months ago
Bluffpower 👌
Filip, 2 months ago
Michiel den Outer is the founder and lead coder of Outerspace Software. He lives in Rotterdam, the Netherlands.
If he isn't busy improving BluffTitler, he is playing the piano or rides the Dutch dikes on his bikes.
805 articles 3,968,169 views
Contact michiel by using the comment form on this page or at info@outerspace-software.com