Auto Tiled Shader - Atomic Ivy MMO

 Auto Tiled Shader - Atomic Ivy MMO

www.tinyurl.com/BOMB-CODE


Shader #7 looks a lot different with auto tiling applied
to it. We didn't change any of the rendering code from
the previous youtube #short . All we did was inject
an auto tiling method bitfield equal to 0xC ( binary: 1100 )
into our tile values. Tiles with the most significant 2
auto tiling method bits set will auto tile horizontally
and vertically... Let's make a truth table


    AM4 BINARY[ 0 0 0 0 ] : Auto Tiles With NOTHING
    AM4 BINARY[ 0 1 0 0 ] : Auto Tiles Only HORIZONTALLY
    AM4 BINARY[ 1 0 0 0 ] : Auto Tiles Only VERTICALLY
    AM4 BINARY[ 1 1 0 0 ] : Auto Tiles In BOTH DIRECTIONS
    

    Don't worry about those other bits ,

    we will get to those bits later.
    
    They also do cool stuff.

    -KanjiCoder

Comments

Popular posts from this blog

Atomic Ivy MMO - GPU Texture Sampling Math Is Wrong

Level Isolated Mirroring Brush

Usage of my time