A bitmap (raster image) used in a texture mapping process.
0
votes
0answers
18 views
Unity: Why do my 2 gameObjects 'share' materials?
no one has answered this on Unity answers yet so I thought I might as well ask this here:
recently, I imported my .blend game character and the character consisted of 2 colors: Red and black. ...
0
votes
1answer
19 views
Problem with Basic Diffuse Lighting
So recently I have been learning how to implement Diffuse Lighting in DirectX and I have done so with the following code:
float4 PS(VS_OUTPUT input) : SV_TARGET
{
input.normal = normalize(input....
0
votes
0answers
6 views
Assign materials from previous import of the same model
In a Unity project I'm working on, there were the following steps:
I imported a model into unity
This created a materials folder (which I then moved to a different location)
I assigned the textures ...
0
votes
1answer
14 views
missing textures after taking build in unity
I am working with Unity2D game.I am able to see the texture on the unity editor but after taking the desktop build the texture2d image is not getting visible on the scene.what will be the problem.
2
votes
0answers
29 views
Custom Inspector for textures?
I am working with an open source project called Project Porcupine. The project is a game engine for a base building game that allows for one to extend the game. We have a system to read texture files, ...
1
vote
1answer
34 views
opengl - texture clamping not working
I'm having a problem with post processing in my deferred renderer. When I'm applying an effect like bloom on top of my scene, the bottom of the bloom effect texture leaks into the top of my screen, ...
0
votes
1answer
20 views
Texture Tiling and Texture Coordinates in Unreal Engine
I've just started to learn how to develop games and everything is new for me now.
I don't know where to start and I decided to start with Textures and there is something it is difficult to understand ...
-3
votes
0answers
32 views
Sparks Texture Png [closed]
Can anyone provide me some good PNG image for Sparks texture (Wielding Effect) generation , i could not find any image on web.
If any one one have texture Atlas when spark get split or texture please ...
0
votes
0answers
32 views
Set texture tone 'as it is', not affected by material color
So I don't want my texture on material be affected by the material's color. I want it to be the same color as on .png texture image.
0
votes
1answer
42 views
How to put different textures on different sides of a Cube in DirectX 11?
I have recently learned how to texture a cube in DirectX with a single texture but I am now trying to put multiple textures on a cube. If your confused the photo below should clarify.
I am aware of ...
0
votes
1answer
75 views
OpenGL managing many textures smoothly
I'm working on a game right now and running into some noticeable performance issues and limitations.
Basically, I have this:
A few QGLWidgets, all sharing contexts with eachother (probably ...
0
votes
0answers
33 views
three way scene voxelization
I have been researching how to voxelize scene for a while. For example here
and in other sources I found that I need to find axis which presents the largest face area of the triangle. So the ...
0
votes
0answers
40 views
Do I have to calculate the mip maps myself based on level 0 mipmap and if so, how?
I am trying to understand how to fill out D3D12_SHADER_RESOURCE_VIEW_DESC.
Let's make a 2d-texture example:
I have an image width W height H where the stride (including padding between lines) is S>W....
0
votes
0answers
39 views
Change terrain texture in unity
I have two textures for my terrain. As a default I use the green texture. However I want my user to be able to change the settings of the game to make the texture red. I have buttons in place that ...
1
vote
1answer
52 views
Why is the standard on displaying missing textures is via a black and purple checkerboard?
In many different games, such as Minecraft and TF2, the default texture is a black and purple checkerboard. Even games that don't use that exact texture incorporate elements of it. Borderlands 2 uses ...
13
votes
2answers
2k views
How does GPU handle texture and VRAM?
It's actually a bunch of inter-related questions:
Are compressed textures (dxt5/dxt1 etc.) ever completely decompressed while going through rendering pipeline?
If the answer to the first question is ...
2
votes
2answers
113 views
Is it OK to use 6-7k texture map in Unity?
I want to unwrap all my car into one texture (interier, wheels and e.t.c), so for better quality i need to use one big 7k texture. Is it OK or the better choice is to make smaller ones for groups ?
0
votes
0answers
25 views
OpenGL Make texture from Color Array
I'm using LWJGL 3, and I want to make a method that can convert a color array (the Color class contains variables for R G B and A) into a texture. Any help will do, thanks in advance.
-1
votes
0answers
13 views
Having difficulty adding a texture to my item Minecraftmod Item
I've been trying to add an image to the misc ttem I created in Mincraft Forge. However I keep getting an error when I try to use the following code.
Error: The method setTextureName(String) is ...
0
votes
0answers
30 views
Creating a smooth transition between materials on large models using Unity and/or Blender
Im not sure if this is possible or not... I would like to create a smooth transitiom(crossfade) between two textures on a 3d model made in Blender that can be imported to Unity. For example if I ...
1
vote
2answers
48 views
Any major perf (or otherwise) concerns with rendering to/from big partial texture rather than multiple?
I have a very low res mobile game I'm working on that takes multiple rendering passes followed by a pass the composes them. Currently, I have a tex for each pass- each of which gets given to the ...
0
votes
0answers
39 views
OpenGL texture not showing
The past few days i have been trying to render few basic models to my screen , but to my surprise Textures don't apply to the object .
So i have a main class which holds all my window specific ...
1
vote
1answer
30 views
Why is my texture skewed?
I'm creating hexagonal prisms from code and am having a difficult time understanding how UV mapping works, as the texture I apply to the hexagonal face comes out skewed:
Forgetting the sides for ...
0
votes
0answers
23 views
Minecraft Forge 1.8 Block Icon
I try modding a custom sapling and I have modded the block model and it works just fine. But the Block in the inventory has still the missing texture thing. And I would like to have a 2D model for the ...
1
vote
1answer
36 views
Converting real-life perspective photos into orthographic view for texture creation
I'm struggling to find software that will enable me to take real life photos and make them "flat" (orthographic) for use in textures.
Does anyone know of a reliable way to take perspective photos and ...
0
votes
0answers
14 views
Drawing a 2D polygon filled with a rotated texture
As I have seen, System.Drawing.Graphics in C# has proven to be really bad at handling larger images. So, if I want to draw a both tiled and rotated image, I will have to draw each tile directly to the ...
2
votes
0answers
25 views
First time working on 3D game: exporting steps after designer finishes 3D characters?
First time making a 3D game so could use advice. The designer is creating 3D characters with Cinema 4D (https://www.maxon.net/en/products/cinema-4d/overview/).
What steps are required to go from his ...
0
votes
0answers
40 views
How to minimize texture binding count in Libgdx UI?
I use two TextureAtlases for my game graphics - first one contains all images while second contains bitmap fonts of different size and style. I need to use MipMapLinearNearest / Linear texture filters ...
0
votes
1answer
45 views
Why some textures become black in GDX
I have such situation in my GDX game: I have a static class that manage my Drawables. It's a Singleton. I want to load all my Textures to it in order not to load them at every turn when I switch ...
0
votes
0answers
19 views
Libgdx scale and repeat texture at the same time
I want to draw the background of my app with
batch.draw(texture, 0, 0, backgruondU * textureWidth, backgroundV * textureHeight, backgroundU, backgroundV)
where backgroundU is screenWidth / ...
0
votes
0answers
37 views
Line not showing up on render texture image
I have my first functioning weapon in my game, a laser beam. The game is centred around ship-to-ship combat, and the layout is like FTL's - a view of your ship, and a smaller window showing the enemy ...
0
votes
1answer
27 views
Showing background transparent image in android
I have a image with transparent background created from photoshop.
I added this to my android game which I am creating using libgdx. But when I add it to that, it is shown with white background ...
0
votes
0answers
25 views
Can you erase a texture in real time in Unity
I've been looking at different ways to model damage effects, and I was wondering if it is possible to do it by erasing some of the texture of a model. As an example, imagine shooting a thin plank ...
1
vote
1answer
43 views
why are texture atlases called texture atlases and not image atlases
More specifically, is there anything about texture atlases specific to textures? From what I've read of them, they might just as well be called image atlases. Images are not the same as textures, but ...
0
votes
1answer
24 views
Using an SDL_Renderer within a texture wrapper class in SDL2
I have a CTexture class which needs a renderer to create and show textures. I don't know the scope I should put the renderer in. I´ve got it to work as a global variable, but I don't know if it´s a ...
0
votes
0answers
94 views
Game gets 140+ FPS on Macbook Air but gets < 30 FPS on(much more powerful) Windows laptop
I'm using TexturePaint in java to paint the textures of polygons, and if I remove that functionality, the game runs pretty well on Windows, so it's definitely an issue with texturing the game.
...
0
votes
0answers
45 views
UE4 Huge texture not rendering on Android
So i'm using a "Shape_plane" from the starter pack and i set the scale to x=500, y=500, z=1 and i set the texture to a map of my collage and on my computer it looks like this
But on my phone it ...
0
votes
1answer
49 views
Why does my framebuffer not work when rendering to texture?
I am having trouble rendering to a texture and then mapping that texture to a quad. I am using OpenGL 2.0. I am using code from the wiki. The class scene_t has a texture called _out_tex, which is the ...
1
vote
0answers
54 views
Is there a way to rotate a TexturePaint?
I wanted to add a grass texture to my 3D polygon-based game, and thought the easiest way to do it was to use a TexturePaint. Currently, the texture stays fixed while the world rotates which isn't the ...
0
votes
0answers
57 views
LibGDX - scaling for different devices
i have a question about scaling. I have two ideas how to solve problem with different screen sizes, aspect ratio etc.
Make viewport that depends on device screen size and scale textures in draw ...
0
votes
0answers
33 views
Hidden textures [duplicate]
How do the developers of games "hide" textures from editing. For example in game called Faster Than Light which is made in c++ using SDL. There is no directory with graphic files. How to "hide" ...
1
vote
1answer
45 views
DirecX 11 R8G8B8 24bit format without alpha channel?
This is maybe a stupid question but I can't seem to find texture format for simple 24bit R8G8B8? There is only 32bit R8G8B8A8, but some of my textures don't have alpha channel.
Is there any way to do ...
5
votes
1answer
72 views
Best way to initialize values on 32-bit FP framebuffer in OpenGL
I have a framebuffer bound to 32-bit FP texture:
glGenTextures(1, &texColor);
glBindTexture(GL_TEXTURE_2D, texColor);
glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, w, h, 0, GL_RGBA, GL_FLOAT, (GLvoid*)...
1
vote
1answer
47 views
Texture mapping artifacts on certain surfaces
I am currently working on a 3d game engine, but am complete stumped on a problem involving texture rendering. Here is the rundown.
My game engine renders meshes of the OBJ wavefront type. I have ...
0
votes
0answers
37 views
terrainData.SetAlphamaps slows unity game
iam using terrainData.SetAlphamaps() function for changing texture of specific part of terrain in update which is like my player moves and i get its transformation and map the texture at corresponding ...
1
vote
1answer
99 views
Can't load png in texture
I created new project in libgdx without Android, specified for Eclipse. I added testcar.png to assests in core project, refreshed core and desktop projects,
new Texture(Gdx.files.absolute("C:\\...
6
votes
2answers
640 views
Need simple 3D terrain render with big texture map
I have a 1000 x 700 height map
I have a 1000 x 700 texture map
I did something very similar about 8 years ago:
Using XNA. Unfortunately, when I bring up this old project and convert it to Visual ...
1
vote
1answer
57 views
SDL2: Texture not rendering to screen
I'm trying to render a BMP image, but nothing is showing up other than the draw color. I have most of my code in a header file.
[game.h]
#ifndef __Game__
#define __Game__
#include <string>
#...
1
vote
0answers
27 views
SFML Texture issue removing from memory
I am currently working on loading tmx levels into my game, all is going well and i have layers being loaded textures being loaded and all the data being loaded such as level name, tile sizes etc.
The ...
3
votes
0answers
25 views
Tile Texture If Dimensions of Sprite Are Larger Than Texture
I have a sprite that acts as a wall in a game that I am building. I would like to have the brick texture repeat itself instead of stretch to fit the height of the screen. I tried:
Texture ...