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
0answers
11 views
Spine and programatically or keyframing attachment transparency
I've just recently been getting to grips with Spine and Unity 2D, porting some of my assets from different sources SWFs, SVGs, GIFs, Canvas animations. Whilst I'm able to reproduce a lot of what I can ...
1
vote
1answer
42 views
Clearing an SFML scene with a partially transparent color
Is there way to clear a scene with a transparency (alpha) value, in pure SFML?
I'm trying to clear with rgba(0,0,0,128) so the previous frame still partially shows through, which would create a ...
0
votes
0answers
40 views
Unity3D object fill shader
I've been researching this for a while, and had no luck yet. I figured I'd ask here to see if anyone had any good ideas.
Essentially what I want is a shader that can make only part of an object ...
2
votes
2answers
82 views
fast java2d translucency
I'm trying to draw a bunch of translucent circles on a Swing JComponent. This isn't exactly fast, and I was wondering if there is a way to speed it up. My custom JComponent has the following ...
0
votes
0answers
223 views
Drawing and rotating bitmaps (with transparency) efficiently in Android
I just started making a game for Android and I'm already having some issues regarding performance.
You can imagine the game as being some kind of Tower Defense game with a top-view, and the enemies ...
0
votes
2answers
104 views
HTML5 Canvas Parsing image into tileset while preserving transparency
I'm trying to import a Tiled Map Editor JSON file into my HTML5 canvas game but I'm having trouble with separating out the tileset image into separate images while preserving the transparency.
...
1
vote
5answers
190 views
Drawing transparent and opaque 3D objects. How do I preventing z-fighting?
I am using a transparent weighted average algorithm to draw my transparent objects.
The transparent object is drawn with the following notable render states (the rest are default XNA values):
...
1
vote
1answer
110 views
rendering transparent meshes in LibGDX
Building open this tutorial - https://code.google.com/p/libgdx/wiki/ProjectionViewportCamera
I have constructed a class for generating polygon meshes. But i cannot figure out how to render semi ...
3
votes
1answer
109 views
OpenGL - Z- Buffer translucency
So lately I wanted to use the Z buffer in opengl to order my 2D sprites in my program. Now I didn;t relaize that if you use the Z buffer then you cant blend these sprites. And some of these sprites ...
1
vote
0answers
38 views
How to set transparent at top view to see through surface underneath in Microsoft.DirectX?
using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX;
I render a 3D data by setting device.RenderState.AlphaBlendEnable = true
Now my top view looks like below, the outer surface layer ...
0
votes
1answer
88 views
render sprites with a transparent background (XNA)
For my game I want to make a map of the world. Per country I made a file with the border of the country and the rest of background is transparent. This way all my files have the same width and height. ...
3
votes
1answer
82 views
Make some black pixels transparent in Love2D
Is it possible to put a black opaque rectangle over my game screen and then change transparency on some pixels?
For example I have black rectangle on screen represented by 1
1111111111111111111111
...
1
vote
0answers
45 views
Transparency behaviour on PowerVR
I'm doing some graphics optimizing tests, especially on PowerVR transparency. Now I made a scene where there are two groups of simple objects. One group has the shape in geometry using diffuse shader ...
5
votes
1answer
135 views
Sprite with alpha Blending in 3D world
I'm working on a game in a 3D world with elements 2D only (Like Don't starve game) for Android and IOS.
Currently, I've managed "Sprite" without alpha blending, I've just put a condition in the pixel ...
0
votes
0answers
163 views
Apply various effects to alpha channel using cocos2dx
I have some CCSprite with images which contain shadows. Apart from the shadows and the background the images are opaque. I'd like to be able to draw some CCSprite but without the shadows when they are ...
1
vote
1answer
106 views
Drawing Transparency in XNA 4.0
Using C# (VS2010) with XNA 4.0, I have a terrain layer (RenderTarget2D) in a 2D side-scroller. My visual system tracks updates to redraw individual tiles, but I am having trouble finding a way to ...
2
votes
1answer
149 views
Odd blending result (semi-transparent 2d quad over 3D scene)
I'm working on a GUI library for my game, and I'm having problems with my blending.
I have a 3D scene, which I render with glDrawArrays. In the fragment shader the alpha color is hardcoded 1.0f ...
4
votes
1answer
251 views
How do games deal with Z-sorting partially transparent foliage textures?
I was busy implementing basic transparency in a prototype I'm working on when something occurred to me.
In order for a given texture's transparency to work as expected, the (semi-)transparent texture ...
2
votes
2answers
1k views
Android: Loading bitmaps without premultiplied alpha (OpenGL ES 2.0)
Is this possible? To load textures in non-premultiplied format (Straight alpha?)?
My game has 1 or 2 images which have semi-transparent pixels and I need to be able to fade them in and out but this ...
2
votes
0answers
439 views
How to make the background of an OpenGL object transparent?
It sounds so simple but i didn't get it to work.
The Background of my FrameLayout where i add the GLSurfaceView in is colored blue but there is only black.
So here is my method to initiate the ...
4
votes
2answers
100 views
XNA Transparency depending on drawing order?
I am drawing two 3D objects, both of them can fade from opaque to transparent independently, and they can intersect between them (so you cannot say when one of them is before the other one). Look at ...
3
votes
0answers
197 views
How do you display non-cutout transparent 2D textures with a depth buffer? (OpenGL)
I've been able to get my 2D renderer to display transparent cutout textures by testing the alpha of a fragment and discarding if it is less than 1 (or any fraction really). The problem is I want to ...
3
votes
1answer
208 views
Change opacity of a texture in XNA 4.0
I have created a terrain using VertexPositionNormalTexture in XNA 4.0, but now I would like to allow the user changing the opacity of the terrain (from 0%, totally opaque, to 100%, totally ...
3
votes
2answers
517 views
Does Unity's “Transparent Bumped Specular” translate to “semi-shiny must be semi-transparent”?
Unity's documentation for the "Transparent Bumped Specular" shader/material-type is simply a concatenation of each of the descriptions for its Transparent and Specular Shaders (and also Bumped, but ...
4
votes
2answers
502 views
Jagged transparency when rendering translucent textures (OpenGL 3.2 + GLSL)
Like most others, I'll start off mentioning that I'm still a beginner when it comes to OpenGL and GLSL programming. So bear with me on any dumb mistakes you may spot in the code ahead.
I'm basically ...
1
vote
2answers
366 views
Tile-based game with DirectX - issues with transparency and StretchRect
In my current project I have a class which loads a map file and then it should load all associated tilesets (no transparent tiles - I used to work with magenta as a colorkey) and precreate a surface ...
0
votes
0answers
49 views
Creating transparent image with localGraphicsConfig not always working
Consider using the following, commented-out code (https://github.com/kozie/twodee/blob/master/src/nl/kozie/twodee/Display.java#L135-L136).
This creates an empty image which i'm filling with a mosaic ...
2
votes
2answers
487 views
Pygame set_colorkey transparency issues
I'm having a strange issue that I cannot seem to remedy. I am doing some prototyping with Pygame on a desktop running windows and a laptop running OS X. Both are running python v2.7.3 (installed via ...
9
votes
2answers
744 views
Why are some games using some dithering pattern instead of traditional alpha for transparency?
Recently, I have seen some 3D games (eg: GTA IV) to use some kind of ordered dithering to simulate transparency / alpha.
The polygons are not transparent as usual, but instead render a dithering ...
-4
votes
1answer
140 views
Importing a transparent image to flash [closed]
How do I import an image that has transparent background to flash and give it class and use addChild to show it on the screen? Transparent background should stay transparent.
2
votes
1answer
679 views
XNA 4.0 - Transparent 3D model
I have a little problem with my 3D model (.fbx) rendered in XNA, look at screenshot.
Screenshot:
It should be a lego brick, which was modelated in Blender, then exported to .fbx and added to XNA ...
4
votes
2answers
974 views
What is the order-less rendering technique that allows partial transparency?
I've seen somewhere rendering technique that allows order-less rendering of partially transparent sprites/objects.
Though I can't remember what the technique is called, so I'm having trouble Googling ...
0
votes
0answers
210 views
cocos2d fragment shader transparency
I'm playing with custom fragment shaders for a CCSprite (see http://www.raywenderlich.com/4428/how-to-mask-a-sprite-with-cocos2d-2-0).
But I can't figure out why I get a white color whith the ...
1
vote
1answer
385 views
Lost transparency in SDL surfaces drawn manually
I want to create SDL_Surface objects for each layer of my 2d tile-based map so that I have to render only one surface per layer rather than too many tiles. With normal tiles which do not have ...
1
vote
2answers
974 views
How can I make a tile appear on top of another without completely blocking the tile below?
Making a small RPG with libdgx just for learning about how to draw tiled maps and move around in them. I've got the tiles drawn and OrthographicCamera stuff figured out so I can see my world. My ...
1
vote
2answers
2k views
Transparent parts of texture are opaque black instead
I render a sprite twice, one on top of the other. The sprites have transparent parts, so I should be able to see the bottom sprite under the top sprite. The transparent parts are black (the clear ...
3
votes
3answers
541 views
How can I render a semi transparent model with OpenGL correctly?
I'm using OpenGL ES 2 and I want to render a simple model with some level of transparency. I'm just starting out with shaders, and I wrote a simple diffuse shader for the model without any issues but ...
0
votes
1answer
213 views
Rendering two textures with blending and alpha test
What I am looking for is the following: I have a circle on a square image, alpha is 0 at the corners
and also a square shadow, alpha is 0 everywhere else
I would like to have as final result a ...
2
votes
1answer
1k views
Collision detection with non-rectangular images
I'm creating a game and I need to detect collisions between a character and some parts of the environment. Since my character's frames are taken from a sprite sheet with a transparent background, I'm ...
0
votes
1answer
771 views
Making a surface transparent from blackness of texture
I am making a "halo" shader in unity using GLSL. And I've come to a roadblock.
What I need to do is take a texture, like the following, and make it transparent according to the darkness of it. And I ...
3
votes
3answers
940 views
Alpha blending without depth writing
A recurring problem I get is this one: given two different billboard sets with alpha textures intended to create particle special effects (such as point lights and smoke puffs), rendering them ...
5
votes
2answers
248 views
Mobile 3D engine renders alpha as full-object transparency
I am running a iOS project using the isgl3d framework for showing pod files.
I have a stylish car with 0.5 alpha windows, that I wish to render on a camera background, seeking some augmented reality ...
1
vote
1answer
1k views
Early Z culling - Ogre
For Ogre experienced people, but also experts in the field:
Early Z culling is sometimes quite desirable, and that's what I tried to do in Ogre by using a two pass material. The first one is writing ...
3
votes
4answers
2k views
IOS OpenGl transparency performance issue
I have built a game in Unity that uses OpenGL ES 1.1 for IOS. I have a nice constant frame rate of 30 until i place a semi transparent texture over the top on my entire scene. I expect the drop in ...
3
votes
1answer
1k views
What is the AlphaToCoverage blend state useful for?
Alright, just finished most of my early UI stuff and I wanted the windows to have some transparency. So I expanded my application to initialize and bind blend states so that my UI shader could ...
3
votes
1answer
2k views
Why do my sprites have a dark shadow/line/frame surrounding the texture?
I'm starting OpenGL with Apple's GLKit hand I'm having some trouble to get my sprites displayed properly. The Problem is that they all are surrounded with thin dark lines. The screen shot below shows ...
-1
votes
1answer
187 views
Selective jogl texture transparancy depending on bitwise magic?
I have rewritten some code to allow to load bitmaps to be loaded as textures and if a pixel has a max green color component it is marked transparent. What is odd is that I cannot use the value from a ...
2
votes
1answer
3k views
How do I make magenta in my PNG transparent in HTML5/Canvas/JS?
I'm putting together a simple hex map to use within an HTML5 / Canvas / JS game and before I get round to sorting any custom graphics, I was wondering if anybody knew how to make the pink/magenta ...
1
vote
1answer
449 views
OpenGL ES Faces appear to be transparent when alpha is 1.0?
I am working on an object (OBJ File) loader for my app on iOS, currently I have successfully read the vertices and the faces of the object, and I am now just adding colours to the imported models.
I ...
0
votes
1answer
2k views
How does one do alpha transparency testing in XNA 4.0?
I've read a lot of tutorials, but it just doesn't seem to work. Here's the code as suggested by a tutorial, using the built-in AlphaTestEffect class:
Matrix projection = ...