Questions tagged [textures]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Fade a texture effect as it nears the end of a cylinder mesh

In my game I have a laser beam that travels for about 15m, but abruptly stops due to the mesh the texture is attached to. How can I setup my shader graph so that the end of the texture fades away? I ...
0
votes
2answers
53 views

How to vertically flip a DDS texture on import?

I have a program capable of rendering 3D graphics using Direct3D11 and it is currently compatible with two different texture formats, TGA and DDS. The code to read and load a TGA texture in memory I'm ...
0
votes
0answers
22 views

Single Texture Array, multiple wrap modes

I have a texture array of which I would like some of its sub-images have wrap modes of GL_REPEAT and others to be ...
0
votes
1answer
36 views

Convert a UV shader to Triplanar

I am doing procedural environment generation using Houdini and Unity. There are two main shader features I want: Vertex-Color Height Blending - I currently have a shader for this which I purchased. ...
0
votes
2answers
28 views

How to give a certain scene different preference settings then other scenes unity

In my unity game that I am creating there are 4 scenes. 3 of those scenes rely on a backdrop because they are the main menu, death screen and the escape screen(for when you escape the place). ...
0
votes
1answer
19 views

texture size of characters and geosets

I am a 3D artist, not a game developer but I am interested in dabbling none the less. Would anybody know the texture sizes currently used for games like WOW or Guild Wars 2? Don't worry, I'm not ...
1
vote
1answer
78 views

Apply multiple Shaders to one texture with DirectX

I'm beginning with DirectX development and I'm quite confused by the documentation about how to do the following: I have 1 image (Texture2D), I'd like to apply 2 independent HLSL, one after the other, ...
0
votes
1answer
23 views
0
votes
1answer
27 views

What does the max texture unit mean?

My graphics card is a UHD 620 from intel and it says that it has 24 texture units (as far as I know). Using SDL2 creating and loading 25+ texture works fine, so am I not understanding what the max ...
2
votes
2answers
118 views

Renaming Texture 2D nodes in Unity's shader graph?

I am new here so thanks for having me. I have a query regarding renaming the Texture 2D nodes I have created in my first Shader graph. I have setup a shader graph with a normal map, base colour, ...
0
votes
1answer
54 views

Can textures change between resolutions?

I'm a beginner in game design and textures have been bothering me. How do they work in video games? Here's what I mean. Can textures change between resolutions in settings? Or is it tied to screen ...
0
votes
2answers
90 views

Best Practices for Texturing Large Objects

Kind of a 3D graphics newbie here. This is the biggest prop I've ever tried to texture, and I'm kind of stumped. How do you get a decent resolution on large meshes like this without exporting ...
0
votes
1answer
29 views

set model to transparent where texture is transparent

I finally got around to applying textures to my game, and I noticed that the areas that are transparent on the .png of the texture are not transparent on the actual model.It is illustrated in the ...
1
vote
1answer
93 views

How to hide player when in Shadow using Unity 2D Light System?

I have been looking for this for a couple of days now and cant find an answer; how can I hide a player when they are in the shadow when am using Unity 2D Light System? I know I can choose not to cast ...
0
votes
1answer
39 views

What is the name for the technique to use different palettes for different tiles of a screen?

I've found the keywords "subpalette" and "PPU palette", but they seem to be NES-specific. Though the idea of using a small palettes table and use 2 bits per pixel in an image (+ ...
2
votes
1answer
26 views

Why Unity Corrupts textures when used on a Sample Texture node shader

I am trying create a glow effect on a background, to do this I am using shaders, when I use the main texture everything is okay, but when I put the emission map the texture corrupts Here's the ...
0
votes
0answers
22 views

How can I change isReadable of imported DDS images?

I'm importing DDS textures from editor scripts and I need to access the GetPixels() method from each imported texture to check if the image have transparent pixels. ...
0
votes
0answers
20 views

Draw Ordering with Glowing Objects

This is mostly a general design theory question, but for reference the bulk of my game is in JavaScript. I can draw images to the screen that layer on top of each other in the order that I please. One ...
0
votes
0answers
93 views

C++ Raycast using SFML

I know this isn't exactly C++ related, however, I was just wondering if anyone knew anything about texture mapping onto a raycaster. I'm currently trying to write my own and I'm struggling to map ...
0
votes
0answers
11 views

Splitting textured model faces into different polygons

So I have a bunch of hat models that I wanted to incorporate into my game (custom engine, c++/opengl) and my problem with the models right now is that each hat has its own texture with different color ...
0
votes
1answer
43 views

Textures not working on glTF Embedded Models. Picture Explains The Issue. (GODOT ENGINE)

I wanted the tree to look a bit more stylized, or have a bit more to it than just flat planes. Yet when I tried to put this texture on it, it just looks completely wrong. Is this a model issue or a ...
0
votes
0answers
10 views

(Unity) How to show a texture on a model at a specific Pixels Per Unit?

I'd like to use flat 3D models alongside pixel art sprites, but I have no idea how to make the textures applied to these models have the same Pixels Per Units as the sprites. How can I achieve this ...
0
votes
0answers
45 views

Importing FBX model with updated textures into unity creating duplicate textures when using “Extract Textures”

I am trying to figure out the best way to update models, textures and materials. I have a city model (city.fbx) that comes into unity with baked textures and ...
0
votes
0answers
23 views

PBR texture conversion

Is it possible to convert from specular/glossiness to metallic/roughness textures for UE4?
0
votes
1answer
108 views

My pixel art looks weird in the game view in Unity [duplicate]

I am making my first 2D game in Unity and something has been bothering me. If I'm in the scene view, my game looks fine but when I go to the game view the pixels in the sprites aren't rendered ...
3
votes
2answers
108 views

Different textures inside and outside a cube in DirectX 11

I want different textures for the outside and inside of a box (cube). The image below shows what I want to achieve. It is kind of an open box, where we can see a different texture inside: I was ...
1
vote
0answers
34 views

SDL Texture not scaling to the renderQuad

I'm building a Space Invaders clone and using a sprite sheet for my invaders, but when I grab the texture from the sprite sheet, it doesn't scale to the renderQuad that I set. This is the original ...
0
votes
0answers
30 views

Texture disappearing from landscape

I am using Unreal Engine 4.25, and I have an issue with adding textures. I have some textures right now in my landscape, but lately when I add a texture to the landscape, suddenly all texture ...
0
votes
0answers
41 views

Why won't PNGs load successfully to game from server?

I'm working on a game which involves loading pictures from a server and rendering them as sprites. The images are stored as PNGs and open normally from on the server. I get no errors when downloading. ...
0
votes
1answer
144 views

Half of my tris are textured in streaks and blurs

I have written code to import meshes from OBJs and textures from BMPs. My texture coordinates seem to be getting messed up somehow, or some other issue is occuring, because I am getting these effects ...
0
votes
0answers
17 views

Per-component Shader Blend in Unity

Context : I'm writing a 2D mobile game in Unity where the graphics are essentially black lines drawn on a background image plus some lighting. Running full RGB calculations for every step seems like a ...
1
vote
1answer
21 views

Bind render result to texture id

I want to save the result screen of the rendering and then apply another shader on that result, the typical way is to read the screen using glReadPixels and then buffer that image to gpu and then ...
0
votes
0answers
31 views

Rendering a textured 3D cube in R

I am trying to render a 3D cube in the R programming language, and add a texture to each cube face. So far I have this code that draws the cube: ...
0
votes
1answer
58 views

SDL_CreateTextureFromSurface not working

Code: ...
0
votes
1answer
20 views

Texture uniform does not work

So im programming a raytracer at the moment and Im passing a 3d texture from the cpu to the gpu but the gpus texture has not the same values The uniform part (its made in Unity): ...
0
votes
0answers
44 views

Repeat/Scroll texture on CubeMap

I need a method to scroll an image across all sides of a cube map in a way similar to scrolling a UV texture across a water's texture to give the appearance of movement by shifting the normals. I want ...
0
votes
1answer
27 views

Texture flipping behaviour

I was having this problem with OpenGL where I'd have all my textures being rendered upside down. I did the most logical thing I could think of and tried reversing the order of the mapping and that ...
0
votes
1answer
112 views

Reversing plane projection texture mapping algorithm

I found this algorithm in some old codebase, it takes two triangles from a mesh ABC and PMN, where ABC is the triangle that will be rendered and PMN is an extra triangle that is only used to generate ...
1
vote
0answers
44 views

Can't import shaders/textures to Godot from Blender 2.8

I'm using this shader for my models and then i import them like this This is the original model in blender: the result in godot: I think i might have missed some step but not sure of which one, i ...
0
votes
0answers
20 views

Shader Tiling Texture Overlapping between X and Z Axes

I have a shader (code at the bottom of this) that I'm using for a terrain. It renders a texture on the sides of the terrain (the x and z axes) and between those axes the texture tends to overlap. I ...
0
votes
1answer
61 views

Interactive texture modification (such as swirling) in Unity

I am working on a game where I want to allow users to mix multiple colors (similar to shown in this video): https://youtu.be/11UFYyv8hjs?t=316. I have the following questions: I am expecting that ...
0
votes
0answers
28 views

.blend scenes are not showing texture in Unity

I am new to Unity and Blender. I am getting a problem when importing .blend files into Unity: in Unity scenes the textures created in Blender are not showing. But ...
0
votes
0answers
33 views

Polygon filling algorithm

Share your methods or algorithms for painting areal objects, I will be very grateful. I have points List <Vector2> or ...
1
vote
1answer
49 views

Fragment shader - map dot texture repeatedly over the sphere

I have a sphere and in Fragment shader, I have available lat / lon position (in radians) for every fragment. I have a texture of a single dot. I need to map this single dot (or any other texture) ...
1
vote
1answer
163 views

OpenGL texture2d/image sampling issue. Strange artifacts in texture

I have an issue when using textures in OpenGL, strange artifacts occur where geometry overlaps, but not always. Video Reference. I am using a GL_TEXTURE_2D with <...
1
vote
1answer
94 views

Draw calls in Unity 3d

I have only 20 materials in my game (19 are made with textures atlas). But the Setpass call is 72. I don't understand why. I want to know how to decrease the number of SetPass call. This is a brief ...
0
votes
1answer
40 views

Crash when creating RenderTargetViews for Cubemap

I want to create a cubemap and I want to render to it and later sample from it for reflections. However, It crashes when I try to create the faces for the cubemap. Here is my code: ...
0
votes
0answers
65 views

Trying to 'stamp' an arbitrary assortment of pixels to a texture2d that may be rotated at an arbitrary angle

This one is hard to explain but I'll try to not to overcomplicate it. Engine is Unity, for reference. I have a system where an object has a 2d texture to display a custom splat map. The user can '...
0
votes
1answer
363 views

How to convert depth values into Unity's distance

I am new in Unity and now only studying for my work project. I need help with computing real distances from depth values. Can't figure it out. My shader is: ...
0
votes
1answer
63 views

Texture blends into one single color

It looks like that it's being sampled from the least detailed MIP level, at least RenderDoc sees the texture as it should be, and what the actual texture looks like is the same as MIP 9th. I'm using ...

1
2 3 4 5
29