Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [textures]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
274 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
62 views

How to rotate two textures at once in Libgdx, while keeping their relative positions the same?

I am trying to develop a game with cards, where the user can swipe left or right to tilt the cards like this. The red & white cross should stay in the same position on the yellow card as they tilt ...
1
vote
0answers
65 views

HLSL DXGI_FORMAT_A8_UNORM Texture - dark colors appear less opaque than white

I am trying to render a DXGI_FORMAT_A8_UNORM texture (precisely, a font bitmap) in multiple colors by specifying the color per vertex and then apply the alpha value ...
0
votes
0answers
47 views

How do i update opengl lightning equation in my fragment shader to make my texture less glossy and more like a fabric

I built a model in blender, and am currently trying to import it into my android app using assimp together with opengl, i dont have any issues with the importing but my goal is to make the object look ...
0
votes
1answer
36 views

For creating a distant moon in a 3D game, is it better to use a model or texture?

I'm working on my indie game and I want to create a moon (it's a 3D game) however I am unsure if I should create a model and put it far away, or if I should use a texture on a plane and have it ...
0
votes
1answer
78 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 ...
2
votes
1answer
507 views

Unity – How to keep sprites sharp and crisp, even while rotating

How can I maintain crisp, sharp edges on sprites, while avoiding the aliasing caused by rotation? None of the things I've tried produce a pixel-perfect non-rotated block, while allowing rotation ...
0
votes
1answer
155 views

How to use 2D textures in OpenGL / WebGL for physics [closed]

Following along the answer here, it was mentioned about textures: They can also store things like velocities. For example, you can use a texture as a "flow field" for animating particles or other ...
0
votes
0answers
18 views

How to make texture visible in unity from blender file?

I've imported a tree to Unity that I've made in blender, but the texture of the tree is not visible. Could you please tell me how to make that texture visible? I am a beginer and I don't know how to ...
0
votes
1answer
50 views

How to use textures in 2D games in WebGL

I have been trying to figure out how to structure the VBOs in WebGL, and think that keeping them all together in one if at all possible sounds like the best approach. Right now I'm thinking of having ...
5
votes
1answer
197 views

How can I let players “scrape away” one texture to reveal another?

In this game I'm making, I want my players to be able to remove rust from an object based on collisions from another object such as a wire brush. Since it's a VR game, performance is key. I've ...
3
votes
1answer
192 views

Randomizing material across meshes - UE4

I have multiple instances of the same mesh which is using the same material. While looking for randomizing textures, I came across texture bombing and so the material in 1 wall looks fairly random. ...
0
votes
0answers
84 views

Conversion from single-plane to multi-plane texture formats in Vulkan

How can we copy a texture in VK_FORMAT_R8G8B8A8_UNORM to VK_FORMAT_G8_B8R8_2PLANE_420_UNORM under the assumption that no color ...
0
votes
0answers
21 views

Applying material to group of meshes - Unreal engine 4

I'm trying to apply some materials to a group of static meshes (free internet content), but the problem is the material seems to be disconnected at the joint of the meshes. In the image you can see ...
0
votes
1answer
240 views

opengl - flickering of fragments even with disabled depth test

I'm trying to render a quad with a coloured border. I'm using texture coordinates to detect whether the fragment should be considered part of border or not. If it is part of border, then render it ...
0
votes
0answers
160 views

OpenGL seamless repeated texture has artifacts on edges

I'm currently trying to map a seamless texture onto a 3d wall object but when it comes to the edges of the texture there are visible artifacts. closeup: Here is the shader code i use for the texture ...
0
votes
0answers
22 views

A good way to record texture animation?

I want to animate rain on a windshield-mesh. The animation should be looped... And then I want to swipe the rain with windshield wipers. (also looped) So the texture on the windshield is supposed to ...
1
vote
1answer
49 views

Why is my texture displaying incorrect colours using dx11?

I am trying to load my data from a binary file (ppm) and create a texture using this data. It is important that I learn to do it this way as I am eventually going to be packing all of my textures into ...
1
vote
0answers
60 views

What are AO / NM / D / SG texture name equivalents in Unity

I'm not a modeler and i don't know how to match each texture with the requested ones by the material. In one side i got unity: And in the other, this model textures: The only references that i ...
1
vote
0answers
268 views

The most popular Resolutions and Aspect Ratios in Android OS 2019

I develop the game with Libgdx framework. When I tried to deal with support multiple screen resolutions it turns out that Libgdx is not following Android approach how to deal with Screen sizes and ...
1
vote
1answer
204 views

Unity: Non Power of 2 Textures

I have a texture that is 1024x900. Should I resize it in Photoshop to be 1024x1024 or leave it as it is? What about a texture sized 1000x900?
2
votes
3answers
510 views

Is there a way to easily make 3d models and textures for people with no prior experience? [closed]

I want to make a game, but I need assets. I am wondering if I should make them by myself even though I never made any textures or 3d models before. Are there technologies that allow you to easily make ...
3
votes
2answers
527 views

Is it possible to apply a texture to a 2D-sprite in unity 2-d?

I want to take an (animated) 2-d sprite and apply a texture to it. Basically, I want every non-transparent pixel to be covered by the texture (color is disregarded). I understand I can probably ...
0
votes
1answer
54 views

Direct3D & Assimp Texture is inverted weirdly!

I'm working on a rendering engine but even on the first mesh is something wrong. I use assimp for mesh importing! In the Assimp Viewer it looks correct: And in my software it looks like this: Look ...
2
votes
2answers
283 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
134 views

Find transformation to align two polygons at fixed points?

Problem I have a source image (arbitrary width and height c) shown here as a rectangle [X1,X2,X3,X4]. It contains two points C and D (both known coordinates within ...
1
vote
1answer
63 views

How to create soft gradient texture

I'm currently testing out Unity 3D and one of the things I can not figure out, is how to create textures that are what I would describe as "Soft Gradient". Here is an image of what I would describe ...
0
votes
2answers
122 views

Difference between reflection mapping and raytracing

Both methods involve casting a ray unto the reflecting object. It will be reflected. In reflection mapping - the intersection of this reflected ray with the environment map (texture) will yield the ...
1
vote
1answer
88 views

OpenGL Texture from Raw Data Not Rendering Correctly

Starting off the class in question is here: ...
0
votes
1answer
102 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
124 views

How do i properly make a skybox in Unity?

I have some trouble creating a sky box from a panoramic texture. Everything appears to be working. However there are some artifacts in one place. How do i get rid of them?
0
votes
0answers
30 views

Texturing edges of a procedurally generated polygon

I'm generating a polygon from code to display unit ranges in my game. Here's how it looks so far: I would love to be able to now use my texture and only apply it to the edges of this polygon (imagine ...
0
votes
0answers
90 views

DirectX 11 - Rendering to Texture only display the clear colour

I'm attempting to render the scene from the current view matrix onto a texture (currently just for testing purposes) but I can't for the life of me get it to work. Currently all the texture displays ...
1
vote
1answer
95 views

What's the best practice to use the pbo to upload multi textures?

I have a basic model to upload textures as shown in the following picture. I design this for several reasons: Only the primary thread owns the OpenGL context, so I choose to create buffers, map ...
0
votes
0answers
143 views

DirectX 11 - Skybox Texture messed up

I'm attempting to create a skybox and I'm currently having some issues with the texture where it looks like this: It seems the textures are not really "sticking to their sides" correctly as it looks ...
0
votes
0answers
228 views

Godot: Possible to create a 2D tilemap and set it as a texture for a 3D surface?

If I created tilemap of some sort of pattern or image and wanted to set it as the texture of a 3d surface or 3d model, how would I do it?
0
votes
0answers
23 views

Adding another diffuse texture on top of the existing one in Unity3D?

I'm working on a voxel game, and I would like to add different properties to the voxels, which are visualised by an extra (transparent) diffuse texture on the voxel's default one. Voxels could have ...
0
votes
1answer
1k views

“RENDER WARNING: there is no texture bound to the unit 0” When not Rendering Texture

I have a webgl program that sometimes renders textures, but mostly renders triangles or lines. When I am not rendering a texture, webgl gives the warning, "...
1
vote
0answers
297 views

Is it possible to make a randomly rotating terrain texture painting brush in Unity?

I wanted to make a terrain in unity with a dirt texture painted onto the original grass texture to make a path, but when I tried, the dirt (and grass) looked repetitive and full of patterns. My ...
0
votes
1answer
26 views

When I open an image from Unity in preview it's blank?

Ok, I need to know why this is and don't have the .png anywhere else. I have a texture in Unity that I need to edit in Photoshop, yet when I Reveal the image in Finder then open it in preview or ...
0
votes
1answer
34 views

How to create a 32 bit red texture byte buffer

I want to make a red texture image buffer. Would anyone help me to make it in right way. I have tried following: ...
0
votes
0answers
145 views

How to scale UV coordinates from a specific offset?

I'm currently attempting to copy a small texture onto a larger texture, but I want to have control over how large and at what UV position the smaller texture is copied over. I've made some progress ...
0
votes
0answers
12 views

How can I tell if a vertex is mapped outside the texture map?

Let's say I create a shadow map from a specific view and then apply that map to a scene. Some objects lie outside the map and they take colors depending on how you defined the shadow map (for example ...
0
votes
1answer
307 views

Vulkan rendering of Minecraft-like world in C++

I decided on using 16x16x16 (4096 total) chunks of blocks. Problem is with textures. First idea was about texture atlas but it would require a lot of calculation and possible problems in dividing UV (...
1
vote
0answers
84 views

How do I wrap my custom texture to a quad using DX11 and C++?

I have manually cut out some textures from a sprite sheet and saved them as individual files for now, and I am trying to load in this png and apply it to the quad I have drawn on the screen, but for ...
1
vote
2answers
45 views

Meshes exported from blender as .obj does not map correctly

I am having some problems with developing my game in OpenGL with java (Using LWJGL3). I have been following a guide for the more complex steps of the process, like loading meshes. When using the ...
0
votes
1answer
95 views

PVRCT Texture Format with glTexStorage2D on Open GL 3.0 ES How?

I've looked everywhere and I can't seem to find the answer. How can I use glTexStorage2D with PVRCT textures? I've done this: ...
0
votes
1answer
74 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
1answer
94 views

OpenGL Textures not showing

So I'm currently working on a small C++ project for a school assessment and for some reason my Textures are not showing when I run the game. I don't get any compilation errors but they don't show up. ...
1
vote
0answers
110 views

How do I create textured landscape in low poly style?

I'm trying to create something similar to this kind of artistic landscapes in Unity. I've been from trying to use Unity's terrain system and Gaia to making it in Blender; no matter how I can't figure ...