Skip to main content

Questions tagged [texture-atlas]

A texture atlas is a large image containing a collection, or "atlas", of sub-images, each of which is a texture map for some part of a model.

0 votes
1 answer
53 views

Rendering Sprite from tightly packed atlas onto RenderTexture

I'm currently working on a Unity BepInEx Plugin that should allow users to customize certain textures in the game. As part of this, I need to extract sprites from a sprite atlas into individual ...
Ashiepaws's user avatar
1 vote
1 answer
82 views

Drawing textures to a RenderTexture + rotating in 90° intervals

For context: I am currently working on a BepInEx Plugin for the Unity-based game Hollow Knight: Silksong. The goal is to be able to replace the base game sprites with custom ones. The game uses Sprite ...
Ashiepaws's user avatar
0 votes
2 answers
188 views

Color local shader graph UVs for texture atlas

I'm going to use a texture atlas for my upcoming project, and am trying to find a way to create a color overlay for only a specific section of my texture. Below what I'm trying to accomplish, only for ...
L9572's user avatar
  • 11
0 votes
2 answers
194 views

How can I ensure to keep equal pixel density?

I work with an artist that draws tilesets and texture atlases for my 2D game. Since we are not very experienced, we face a problem, when one texture atlas differs to other in size. That means that I ...
Steyrix's user avatar
  • 269
0 votes
1 answer
99 views

Should tiles from a tileset atlas be separated into individual images when the program loads?

I load a large tileset image in at the start of my program. To draw the game world, I loop over a 2D array of tile IDs and based on that ID I cut out a 16x16 portion from the tileset and draw that as ...
ChocolateCyanide's user avatar
1 vote
1 answer
385 views

Does OpenGL have any automatic texture interpolation?

An image of a minecraft grass block in gimp: Loading from a texture atlas in OpenGL, gives a much blurrier image: I know that the actual image in my glfw window is larger than it is in gimp. (...
bbqribs's user avatar
  • 13
1 vote
1 answer
349 views

Is texture switching a good idea (OpenGL, 2D)?

Let's say I have two atlases for character animation. One atlas represent idle and walk. The other one represents striking. I usually combine atlases into one file, however I thought about using ...
Steyrix's user avatar
  • 269
1 vote
2 answers
313 views

Seam visible on sphere or torus made in Blender when using a texture atlas

I'm making a game in OpenGL with C++. I have a problem with my vertices or texture coordinates - there's a seam visible on the sphere where the texture wraps around: If I use "nearest" ...
Gaëtan S's user avatar
0 votes
1 answer
138 views

How to render a portion of a texture (upscaled) without affecting the border with SDL2?

I noticed that render a portion of the texture, upscaling it, it affects is border values with the proximity of the outside remaining parts of the texture (when not using Neareast neighbour ...
Raffaello's user avatar
  • 125
0 votes
1 answer
86 views

why One big texture frames is consuming more RAM compared to be divided into single frame ones [closed]

I noticed that composing frames in a big texture will consume more RAM rather than having 1 frame per texture (or sprite if you would like). The renderer is SDL2 backed by Direct3D. Is there any ...
Raffaello's user avatar
  • 125
0 votes
1 answer
207 views

How do you handle edges on textures that join adjacent textures?

This question explains how to use borders to avoid texture bleeding. The following image is taken from the excellent answer to that question. But the problem I don't understand is, imagine you have ...
Zebrafish's user avatar
  • 189
0 votes
0 answers
61 views

Baking material used on a model to texture

In my project I have to optimize our assets. I want to create texture atlas. How can I bake objects' materials to a texture, so then I can make all assets in this scene use one material with this ...
Dekash's user avatar
  • 1
0 votes
0 answers
343 views

How to unpack a spritesheet

The sprites are not aligned to a grid, they are packed as tightly as possible to preserve space (1px spacing). I tried using Alferd SpriteSheet Unpacker but it didn't work on my image because the ...
Emily's user avatar
  • 21
1 vote
1 answer
795 views

How to fix texture atlas border bleeding?

I am having an issue with texture bleeding, I am getting these lines that border each tile: I have tried to solve the issue by rounding/flooring, but that does not work either. The texture atlas has ...
Macho Onion's user avatar
1 vote
1 answer
470 views

Should I be worried about textures higher than 4K?

Upon developing a big project, it just happened that when stitching all the thousands of animations spriteframes of a single character together, the sprite sheet turned around to 2K by 13K texture!! (╯...
Skelly Astronaut's user avatar

15 30 50 per page
1
2 3 4 5
9