Any part of an object or graphic that light does not fully reflect off of, and thus can be seen through. Also applies to translucency effects.
0
votes
1answer
67 views
Why isn't my image's transparency honoured in the Unity sprite?
I'm following through Jesse Freeman's Lynda course Unity 5 2D Essential Training. The exercise files contain sprites with transparency. Here's a screenshot of one such sprite on the trainers screen (...
0
votes
1answer
45 views
Storing rendering data for voxel game 1 VAO and VBO or 1 for every chunk
I have a minecraft style voxel game with placing and digging blocks. it runs at 400+ fps on my computer but when I added semi-transparent water it started running at ~40 fps. so a time per frame ...
1
vote
1answer
56 views
Deferred Shading and Transparency Clarification?
So, this is a bit of a simple question, but I can't seem to find a real answer anywhere. I've been looking into implementing deferred rendering using MRT into my in-progress render engine, but I'm a ...
0
votes
0answers
47 views
Overlap transparent particles without blending? (Unity)
I'm trying to create a continuous output of light from an object (like the exhaust of a space ship), and I thought I'd use particles to achieve this. But I'm running into a problem with alpha blending....
0
votes
0answers
42 views
Can see triangles in translucent/transparent object OpenGL
I added a sphere to my scene in OpenGL and tried modifying the alpha values of its vertices in the fragment shader. However, the result is that I can now see through half the triangles on the object ...
0
votes
1answer
77 views
XNA / MonoGame - render transparent background using stencil buffer problem (3d)
I'm trying to render 3d texture quads with the following properties:
With lighting (rule out "AlphaTestEffect").
Transparent background (no opacity levels, just binary opaque or transparent).
No ...
1
vote
1answer
46 views
Making Buildings Transparent When the Player is Behind Them
I am making a 3D twin stick shooter in Unity and this is a question I need to have answered while I am still in early development. The map my player is in will have very tall buildings that will ...
0
votes
1answer
56 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 like ...
1
vote
1answer
123 views
Change the alpha blending color of scaled textures
It looks like semitransparent pixels are blended with while color when textures are drawn scaled. It is very noticeable and looks ugly when textures are drawn on dark background.
public class ...
0
votes
1answer
367 views
JAVA: How do I use BufferedImage to properly render a PNG with Transparency?
I've been around the internet for about 5 hours and found no solution to my issue, so hopefully someone will help me. So' I've been trying to make a simple game. In previous oportunities I've used ...
0
votes
0answers
64 views
Unity VR: Possible to render a multiple mesh/material model transparent without seeing innards?
I would like to render a model in VR using Unity. This model consists of multiple meshes, some with different materials. I would like this entire model to fade in and out without having depth sorting ...
3
votes
2answers
319 views
Why is my alpha transparency not working correctly in Unity?
In Unity I have never seen a bug quite as weird as this one.
As usual, I import my texture with a transparent background and then check the alpha is transparency box and apply it, and everything ...
4
votes
0answers
85 views
Optimal batching for 2D objects with transparency
I have a collection of 2d objects with transparency. Each object has a depth value to determine draw order and a material. I'm trying to batch them in an optimal way to minimize draw calls. Assume ...
0
votes
0answers
182 views
Light only passes through static mesh when selected - Unreal Engine 4
I just started working with UE4 and this issue has been bothering me for a couple of nights now. There are two questions regarding this problem on Unreal AnswerHub, but none of them offers a solution.
...
7
votes
1answer
744 views
Depth Peeling implementation problem: How to render the next layer? (OpenGL)
I try to implement order-independet transparency sticking to the pseudo code in the linked paper (page 4). I can't figure out how they are able to do this in OpenGL.
I am rendering the scene two ...
0
votes
1answer
117 views
OpenGL color overlay
I want to create a pause menu where everything in the background gets darker. I've looked up a bunch of possible solutions (even the second page on google) but it doesn't seem to work. I do already ...
0
votes
1answer
158 views
Problem with transparent textures in SFML
I have been told that this is kind of a common problem with transparent textures, but didn't get any further information on how to solve it.
In my code, I'm trying to render this texture (a square ...
6
votes
1answer
428 views
How to detect collision only in non-transparent texture?
I am developing a game using libgdx. I am trying to detect the collision between bee and tube. I am using the following code to detect the collision.
if(player.getBounds().overlaps(boundsBot)){
}
...
3
votes
0answers
144 views
Unusual black squares in transparency effect after wake from sleep
I've encountered unusual black squares in semi transparent textures for a while now, usually in processes that were resumed after the computer woke from sleep. For example I've seen the effect in the ...
3
votes
2answers
122 views
How to render transparent meshes without sorting? [duplicate]
Let's assume we have some arbitrary triangle manifold meshes which are transparent.
How real guys effectively render it?
Is it possible todo it without sorting faces back to front (e.g. via bsp) and ...
3
votes
2answers
54 views
How can I render all objects behind a plane with a specific transparency value?
I have a game where there a multiple floor levels between the player switches. The floor is not present everywhere, so you can look through it. When 'working' (playing, building stuff, etc.) on a ...
1
vote
0answers
62 views
Transparent Game Window (Windows 7 x64) [closed]
i want to develop mode to minecraft but if i start minecraft i've got this how can i repair this ?
0
votes
2answers
3k views
How to change alpha of a sprite through script in Unity
I have 4 buttons and they each flash when the button is pressed. However if you were to press a button, then while the button is darker (flashing) click another one, that button then stays dark. I ...
0
votes
1answer
9k views
How to change the transparency of an object in Unity c# scripting?
I have laser-object in my scene, which I want to be seen only when I press the 'E' button on the key board(just an example of a key).
I have seen many ways to change the transparency , however, none ...
4
votes
2answers
604 views
Color key or transparent images?
Ive seen a lot of people make sprite sheets magenta instead of transparent and then they make the magenta transparent using code. What is best (Performance) to use transparent images or use a color (...
4
votes
1answer
194 views
How do I check for collision between transparent textures?
I am creating a 2D game using OpenGL.
For sprites, I use textured quads (actually two triangles).
The texures contain transparent pixels, since objects are not always perfectly rectangular.
How do I ...
1
vote
0answers
90 views
Why is my partially transparent image blitted fully opaque?
I have a part in my program that should display the currently playing song's name for the first 4 seconds, then fade out. Even though Surface.get_alpha() returns expected results, the image still does ...
1
vote
1answer
448 views
How can I draw some of my XNA models semi-transparent? (C#, XNA 4.0)
I've recently made some basic Blender models without transparency for a new game I've been working on, but I'm having some problems rendering them semi-transparently. Namely, I haven't been able to ...
1
vote
0answers
76 views
Building Irregular terrain in tile-based approach
I'm starting to build a 2D game, metroidvania-like, tile-based and all. I've had some prior experience in it, and one of the major letdowns of those prior games was that worlds seemed too "blockish", ...
0
votes
1answer
251 views
Artefacts when drawing textures
I am working on a level-based android game. The level is constructed of many blocks, all drawn with the same texture. Until now I didn't have any problems with drawing the different textures next to ...
1
vote
1answer
150 views
Alpha blending, transparence and z-ordering
I'm making some tests with alpha blending in a projet and I don't understand something.
In my tests I've done something like that and everything look good:
Draw blue box first (depth test: true, ...
2
votes
1answer
630 views
How do I procedurally create a directional light cone with an HTML canvas?
To create a directional light effect, I want to draw this kind of transparency mask on an HTML canvas (using context2d):
I also want to be able to generate such a mask dynamically. I've tried using ...
5
votes
1answer
1k views
How can glass breaking effect from Smash Hit be achieved? [duplicate]
I saw Smash Hit the other day and was amazed by the physics of the game, specially the shattered glass effect:
I've read other posts about this subject but I still feel that they don't share enough ...
14
votes
7answers
3k views
What does the term “channel” mean when used in regards to computer graphics?
I was studying terminology for computer graphics, and this statement came up that confused me.
The image can have alpha channels for transparency.
I tried searching for the meaning of the term "...
0
votes
3answers
3k views
how to design transparent screen in libgdx
this question is for LibGdx geeks. I want to make transparent screen in my game. For example, when level completes I want a new transparent screen pop up and show player's high score, buttons to ...
0
votes
2answers
219 views
How to control which polygons get rendered first in a batch (e.g. to draw leaves)?
Sorting transparent objects is a well-known problem. If you send a bunch of transparent polygons (e. g. leaves and branches on a tree) into the GPU and render them with alpha blending enabled, the GPU ...
0
votes
1answer
411 views
Render scene twice in OpenGL, overlay second render with tranparency
Is it possible to render two scenes (same scene with different setups) without any alpha, and after that is done just overlay the result from the second render on top of the first layer with a static ...
3
votes
1answer
854 views
When should I use color keying vs PNG transparency?
SDL (and other toolkits) can use color keying to make a certain color in an image transparent. Alternatively, you could load a PNG image that supports transparency.
When should I use which?
0
votes
1answer
4k views
Transparency in opengl - texture with alpha, color from background [duplicate]
I have to draw texture with transparent areas on square. But I don't want this transparencies to take color from this polygon, but from the background. Do you have any good tutorial to achieve it?
--...
0
votes
1answer
979 views
Correct GL settings to mix 2D and 3D rendering
I'm programming a 3D game engine with 2D GUI. The GUI objects have partially transparent textures and the transparency works more or less. The sky color is rendered in transparent areas of the ...
4
votes
1answer
2k views
Alpha Blending: use the pixel with the smallest alpha
I'm writing a transparency shader where I need any intersecting textures to, wherever they overlap, take the texture pixel with the smallest alpha value and render only that, discarding the other ...
1
vote
1answer
2k views
How do I make parts of a texture transparent in Max?
I am applying an eye.psd eye-texture to my character model's face, but the results aren't what I'm expecting.
Here's what it looks like (Observe the eye on the right. Ignore the other one.):
The ...
1
vote
3answers
3k views
OpenGL - How to draw a transition of two textures on one quad?
I know when drawing a rectangle, if we select red and draw two vertices, and then select yellow and draw the other two vertices, the entire rectangle will show a nice transition of color between those ...
0
votes
1answer
494 views
What image format supports transparency in Android?
I want to show an apple on screen but the image has a white background and it doesn't blend with the background of a tree.
Is there any image format in which only the red apple is displayed?
1
vote
2answers
3k views
Depth write and depth test in Unity
Scenario: several objects (o1, o2,.., on) have to be rendered with the z test disable, but the z values must be written to the depth buffer. In another pass, some other objects (t1, t2,..., tm) need ...
2
votes
3answers
950 views
Order of render with transparency opengl
I tried to render using different render configurations (GL_BLEND_FUNC()) but I couldn't get the back object to render in certain angles. The first screenshot here shows one angle where the back ...
10
votes
3answers
11k views
How do I render a PNG with transparency in LibGDX?
I'm building a simple tic-tac-toe example with LibGDX. I have simple images: cross, circle and board, all pngs created with GIMP with a transparent background.
How can I render them as a Texture with ...
1
vote
1answer
2k views
Rendering a image with some transparency has removed all black pixels and makes full texture transparent
I am writing a program where with Directx11 I am rendering a texture to a flat rectangle something along the line a of 2D engine. Now parts of this image need to be transparent, to this effect I ...
1
vote
3answers
479 views
Rendering order
In this thread Rendering a model with transparent or translucent uv map applied doesn't work , I asked about what was wrong with my model that the transparency wasn't working. I've got an answer ...
0
votes
0answers
118 views
Rendering a model with transparent or translucent uv map applied doesn't work
Before I try to make anything transparent, the model renders nicely. When I change the uv layout so that one piece of the model will be transparent, it renders horribly. This is the result with a ...