Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __**Texture Atlas Viewer **__ (Tested in 19w42a)
- This resource pack will display your item texture atlas live with animated textures onto your screen with pixel perfect accuracy. Simply apply the resource pack, summon a glowing entity with an item on it, and look at it to view.
- `/summon armor_stand ~ ~ ~ {Glowing:1b,ArmorItems:[{},{},{},{id:"minecraft:stone",Count:1b}]}`
- __**How this works **__
- In 1.15, the glowing final buffer was changed, and now, when it checks entity textures to display correctly, it sends the image output to any buffer that is not `final` or `minecraft:main`, which means we can obtain that atlas image in shaders! This change is likely the result of a fix for a Blaze3D Glowing effect bug. Thus, if you stare at a glowing entity with an item, the final buffer scans the item texture atlas for that item and as a result, that atlas is output to the shader. If you stare at any glowing entity without an item, it will instead display the texture for that entity!
- __**Setting up the resource pack for your texture atlas **__
- 1. Find your texture atlas size by looking in the launcher log for `Created: 2048x1024 textures-atlas` (your values may not be the same)
- 2. Open `assets\minecraft\shaders\program\texture_atlas.json`
- 3. Put the values for X and Y into `AtlasSize` (i.e. `[ 8192.0, 8192.0 ]`)
- 4. Decrease the `AtlasScale` if your atlas is too big to display on your screen. (For example, `[ 0.25 ]`)
- 5. Take a screenshot in game to get a pixel perfect image of your atlas
- **Example:** https://gfycat.com/safeneglectedcaimanlizard
- **Download:** https://www.mediafire.com/file/t2kqrj3epxh8vug/Texture_Atlas_Viewer.zip/file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement