Questions tagged [textures]

A bitmap (raster image) used in a texture mapping process.

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views
+50

Can I use trilinear filtering for my sprites, but keep their outlines unfiltered?

Suppose that I have two images of equal size. They both contain a square: https://i.stack.imgur.com/BI62X.png https://i.stack.imgur.com/Nev5Z.png When overlapped, both squares will appear next to ...
0
votes
1answer
710 views

LibGDX: How to use AssetManager with Texture Atlases?

A similar question was asked before, but I never saw an answer. How does one load individual texture regions that derive from a texture atlas using assetManager? I know that assetManager relies on a ...
0
votes
2answers
542 views

How can I have margins or padding around a texture in libgdx?

I am building a game using libgdx a 2048 like game and I draw the tiles of the board using textures (each texture represents a tile with the number 2 or 4 etc.) I would like tohave a small space ...
0
votes
0answers
13 views

Unreal Engine Niagara Write to Texture or Data Structure

In the Niagara system, is there any way to write to a texture? I want to write the position of each particle into a texture. So the 2d grayscale texture has its intensity as the number of particles in ...
0
votes
1answer
151 views

Issues to display a texture loaded with libPNG with opengles 3.0

I'm trying to load a texture loaded with libPNG on a XY coordinates. I know the width and the height of the texture (32x32). The texture is already loaded successfully and I have his Id. Here is my ...
1
vote
2answers
484 views

Proper way to update pixel array data

For a game that updates a board every frame I am calculating the next arrangement of board, updating pixel array data and render board as 2D texture to quad the size of the screen using OpenGL. I use:...
0
votes
1answer
256 views

World space coords for 2d images

How can I make an 2d image using World space coords with a shape? Like a circle instead of a quad.In 3d you can modify the vertices but if I want a smooth circle there will be too much vertices. What ...
5
votes
2answers
1k views
10
votes
2answers
250 views

Should the color of a texture be adjusted for display on a television?

If a 24bit RGB image with a range of 0-255 per channel is displayed on a television that displays a range of approx. 16-235 per channel, color detail will be lost, correct? If so, should images be ...
1
vote
2answers
9k views

Unity3D Resize texture without corruption

I am currently working on a solution to make my game look very pixelated, like Doom or Quake. But there is a big problem. I'm using Unity Personal. I render my camera to a 1920x1080 texture, then I ...
0
votes
0answers
36 views

How to blend textures with different size optimally?

I am trying to create a 2D lighting map. For each light source I have an Color[,] with size less than whole map and a coordinate of center. There can be many light sources and they can intersect (2 ...
0
votes
0answers
13 views

Unity3d Webcam Video Wall from Cubes

I have a 16x9 wall of cubes in my scene (added via c#) I want to show my webcam onto them while then being able to move the cubes around. My thoughts were to put the webcam footage on a bitmap image ...
0
votes
1answer
40 views

texturing a race track - applying variations

I have created a simple race track in Blender using bezier curve, array and curve modifiers. A track is created from simple planes and the basic seamless asphalt texture looks quite good. As you can ...
0
votes
0answers
23 views

Batch resizing of textures

I have a large number of png files that I need resize so the sides are in powers of 2 without stretching the images in those files. Basically add/remove white-space so the image is in the upper left ...
0
votes
1answer
29 views

Stream Clients Cameras from Server Side

There's a way to see specific client Camera from server (using RawImage ..) and sync view. I tried RenderTextue, but i didn't find a solution for that.
0
votes
0answers
31 views

Optimizing texture fetches with higher mip levels

Let's say I have some shader program in DirectX or OpenGL rendering a full screen quad. And in a pixel/fragment shader I sample some huge textures at random texture coordinates. That is one same ...
0
votes
0answers
25 views

UV unwrapping and texturing for a voxel terrain

As sugested by another kind user, I started using MagicaVoxel to create the scenery for my game (which is in the 2.5D style of Pokémon Gen 5 or Octopath Traveler). I managed to import the test object ...
0
votes
0answers
60 views

Can't load textures to the game

I am making a game with SDL and C++. I am trying to render simple image to the screen but I can't. I don't know why, I am not getting any ERROR but I see only black screen. Here is my code: game.h <...
2
votes
2answers
301 views

How can I create good looking football field lines?

I am trying to create a football field in a countryside with correct measurements of the lines. It's for my first person game. I have a terrain with mountains, trees, etc. and a flat surface for the ...
0
votes
0answers
24 views

Unity 3D - Materials are Stretching and Tiling doesn't Help

I am a programming student working with Unity 3D, version 2018.4.6f1 for this class. I wanted to add some materials to my wall, however, this results in a rather ugly result, because my walls are of ...
10
votes
2answers
11k views

How detect which OpenGL texture formats are natively supported?

For example, how detect if my videocard doesn’t support "bgr8" and convert it to another format, such as "rgba8" in software mode. UPDATE: Sorry for the confusion. This question more about situation ...
1
vote
1answer
80 views

What is the Workflow? Blender -> Substance Painter -> Unreal Engine 4

My name is Jose and I'm pretty new to Game Art Development. I know some intermediate UE4 (both C++ and Blueprints), but my weakest point has always been the workflow to import assets from Blender and ...
0
votes
1answer
104 views

Running OpenGL app on Windows XP x86 produces incorrect texture colors

I'm working with the Cen64 emulator and I compiled from source a x86 version that operates fine on Windows 10 x64. As soon as I run it on a Windows XP x86 machine the colors are then all incorrect. ...
0
votes
1answer
83 views

Draw a texture2D at specific coordinates on another Texture2D

I have a ShipTexture and a Sail Texture. I need to draw the sail texture at a specific location on the shipTexture (call it the sailMountPoint) regardless of the location vector associated with the ...
0
votes
1answer
64 views

Missing texture after add new actors

I want to add two types of characters multiple times but when I add a new actor to stage texture in "old" actors stops render. I can add multiple KnightActor (...
0
votes
1answer
63 views

Unity: White outline around seams in my character, make it stop!

so once upon a time I made a really cool character for my game project and he looked great. Then at some unspecific point in time, my character's UV seams got these awful white outlines around them: ...
0
votes
0answers
17 views

Blender-Unity (+ Lightmaps): Can I (should I?) have multiple UV maps for a single mesh?

I am making a game that I worry is not running optimally due to lots of high-res textures. The irony is that most scene assets use the same materials but I have to (do I?) unwrap the entire mesh on a ...
1
vote
0answers
27 views

PyOpenGL Cubemap ARB Texture not rotating with gluSphere

I've made a gluSphere render in my display and have given it a cube map texture of the Earth. The texture is visible just fine (see below), but I cannot get it to rotate along with the shape. this ...
0
votes
0answers
30 views

Having trouble with getting an image to fit on a face of a cube

I have a problem with a Unity project that I'm working on. I'm creating an 3D art gallery which will be developed into a VR application in the future. In a 3D scene, I have created a ...
0
votes
2answers
248 views

Element's texture is null - Monogame/XNA, C#

I have a ArgumentNullException everytime I try to call the Draw() method of my Projectile class in the Game1.Draw() method. In Game1.cs Initialize() method: ...
0
votes
3answers
2k views

Correct way to project a texture with alpha and colors onto surfaces in Unity

I am experimenting with Unity and wanted to project a unit circle beneath a unit and my very first naive approach was to create a child plane below the unit, assign the material to it and stretch it ...
3
votes
1answer
60 views

How can I spread my texture evenly across a cylinder in Unreal Engine 4?

How can I spread my texture evenly across a cylinder in Unreal Engine 4? Specifically, in the image below, I would like have texture on cylinder (on the left) match the one on the box (on the right). ...
1
vote
2answers
952 views

How can I loop through pixels in the material editor?

I am using Unreal Engine 4, and I want to try to procedurally generate a grass texture. For now, I am using a noise block. Now I want to loop through every 16 pixels or whatever (4x4 squares), take ...
1
vote
2answers
34 views

How to Convert Sprite into Texture

I Have image with a sprite and i want to change this image sprite to Texture so that I can assign it to the material And i don't want to keep multiple copies for each image as a sprite and texture. ...
0
votes
2answers
302 views

Limit Color Pallete Using Shader (Unity)

Basically, what I want to do is take a primary input image texture (which is a render texture in-game) and a secondary pallete texture (contains X number of colors, and is X by 1 pixels in size). What ...
0
votes
1answer
21 views

creating 2d array texture with mipmap

these day i am working with texture2d array with mipmapping. so this is how i tried so far. my approach load multiple(not textureArray form) textures that i want to set as array from computer folder. ...
0
votes
2answers
75 views

How to make a texture appear the same way in a cube?

My problem seems so simple, that before asking the question here I did a search on google and this site: https://forums.unrealengine.com/development-discussion/content-creation/33665-applying-and-...
0
votes
1answer
28 views

Draw textured circle / 2D shape in SceneKit

I have the following code to create a circle Path and a SCNShape from this path. orbit_gradient.png is a horizontal 1px high image that represents a gradient. ...
0
votes
1answer
568 views

LibGDX - Draw multiple textures with different positions with one shader?

currently I'm optimizing my render calls by drawing multiple textures with one shader. The background textures who all share the same position are no problem. But now I want to draw some Textures with ...
0
votes
1answer
75 views

How can I pack repeated textures into one texture efficiently?

I have an obj mesh with some textures, several of them are repeated(uvs are not within [0,1]). I'd like to merge all those textures into one texture and transform the uvs of obj.
0
votes
2answers
97 views

how to generate mipmap, and check if done properly?

i am implementing Mipmapping for my texture for the first time. i have 2 questions HOW TO CHECK IF MIPMAP IS DONE PROPERLY ? HOW TO SET MIPMAP FOR TEXTURE FROM FILE ? First one. i implemented ...
1
vote
1answer
39 views

reading from texture2d resource in directx11

Hi^^ i am trying to read data in resource, which i used to do well without any problems. but suddenly it is not working. first i made immutable resource that has data in it, which is ...
1
vote
1answer
26 views

Attach an Animated Texture to a Character in Unity

Is it possible to have an animated texture of facial features on a characters face in unity? (I haven't made the game yet, I'm researching). I would like to achieve a cartoon effect.
5
votes
1answer
2k views

OpenGL ES 2.0 texture distortion on large geometry

OpenGL ES 2.0 has serious precision issues with texture sampling - I've seen topics with a similar problem, but I haven't seen a real solution to this "distorted OpenGL ES 2.0 texture" problem yet. ...
1
vote
1answer
731 views

Unity procedural skybox shader texture stretching

I am using the procedural skybox shader that Unity provides, but have tweaked it so that I can have a cloud texture. The problem I have, is that the texture is not tiling correctly, even though it is ...
0
votes
1answer
343 views

LibGDX: Best Texture Sizes to use for highest resolution?

I have two texture atlases: 1 is 1024x1024 (mostly used for GUI elements), the other is 2048x2048 (for game objects like characters). I used Texture filter mip map linear on them. But when the ...
0
votes
0answers
4 views

Extract “alpha” layed from “.dds” DXT3/DXT5 texture file

Given: Examples are provided using python, but it's not matter. There is white_small.png, contains RGBA. And there is ...
0
votes
0answers
11 views

Unity cloud build speedtree textures incorrect type after build

So I finally (after a few days) got unity cloud build to work. When I build it using the unity editor everything is fine. However, when the cloud build service builds it I get some odd textures for ...
1
vote
2answers
161 views

C++ OpenGL texture warping

I'm currently doing simple 3D drawing in OpenGL but I have hit a roadblock I just can't seem to get around. The problem is happening with trying to load .obj files. I've written my own .obj reader. I ...
1
vote
1answer
497 views

OpenGL Bump Map — Texture artifacts ?

I am learning OpenGL (and learning the math behind it) and I'm making a simple OBJ viewer, nothing fancy. I have diffuse, specular and ambient light/texture working fine and now I am implementing the ...