Questions tagged [alpha]
The alpha tag has no summary.
49 questions
0
votes
0
answers
62
views
Use alpha map instead of PNG
When I browsed the files in Insaniquarium, I found these images:
The first image "smallswim.gif" is sprite animation
The second image "smallswim_.gif" is (I think) alpha map
So ...
1
vote
0
answers
153
views
How to achieve partial transparent effect like Diablo and Path of Exile Series
In Diablo and similar games, when the player is behind an object from the point of view of the camera, the object will (partially) become transparent or disappears.
For example, in the picture below (...
0
votes
0
answers
2k
views
Unity Shader Graph Alpha Clip Threshold not acting as expected
EDIT: I have tried opening the shader in an empty project to test if there were some strange settings in the project, but it is the same issue.
I am creating a power bar which wipes from left to right....
0
votes
1
answer
53
views
Deffered shader with alpha : orient target writing
I have this bit of shader code to orient SV_target writing depending on alpha value
for SV_Target0 : color0 = (input.a == 1)? float4(some value) : float4(0,0,0,0);
for SV_Target1 : color1 = (input.a ...
0
votes
1
answer
56
views
How to fix exception:Resource not found: testdata/alphamap.png?
I keep getting this exception:Resource not found: testdata/alphamap.png when trying to use Slick in my program. How can I resolve this error?
0
votes
1
answer
219
views
Black and white textures load as turquoise?
I have some black and white, and some grayscale textures, that are loading in unity as turquoise and white textures. What is causing this and how can I fix this? Also, can somebody verify that I am ...
1
vote
0
answers
437
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 ...
1
vote
1
answer
96
views
How to change the alpha of an uneditable LineEdit to 1?
I noticed that Godot changes the alpha of the LineEdit text when editable = false. I want the alpha to stay 1.
What I'm trying to do here is let the user input a name and then when they press enter it ...
1
vote
2
answers
1k
views
If there is an Alpha version, and a Beta version, are the full releases called Gamma or something?
Given the first release of a game is named "Alpha", and another is named "Beta", it would be logical that the release following this one is named "Gamma".
This this the case?
0
votes
1
answer
128
views
As an Independent Developer should I host my own official game servers
My small team is approaching initial closed alpha for testing, however that has brought up the question of whether it is a good idea to host our official game instances from my home office or not. I'...
0
votes
1
answer
537
views
Fading in textures at a constant rate over a controlled duration
I'm trying to fade textures onto the screen using SDL2.
I've tried some different methods I've looked up, but I always encounter the same problem. It seems that the fading takes longer and longer as ...
3
votes
0
answers
465
views
Weird libGDX BitmapFont Color Change (And Alpha) Bug
I want to change the color of my libGDX BitmapFont, but it can't change it. The font is generated with Hiero v5 (Lastest as I Know) but the color of the font doesn't change. Here is the example code, ...
1
vote
1
answer
4k
views
Modifying Alpha in Unity Standard Shader
I'm trying to create a shader in Unity with a slider that can adjust the transparency. (This is the first step toward something more sophisticated.) I try to do this by setting the alpha of the ...
7
votes
5
answers
53k
views
How can I make my Camera's RenderTexture output have a transparent background?
I'm writing a 3D game using Unity 2017.1.0b1. I have a disabled Camera that takes a "snapshot" of the current scene and stores it in a RenderTexture when a button is clicked. I then display the ...
2
votes
2
answers
2k
views
Modern OpenGL, billboarding, alpha transparency
I'm having some transparency issues when rendering billboards in modern OpenGL.
I've created two billboard sprites, each one with alpha transparency, just for testing.
When I render two sprites ...
7
votes
1
answer
15k
views
Unable to rollout release to alpha in Google Play Console
I have uploaded my APK, and filled in data in every field which was required... but using Googles new MAnage releases tab, I am unable to press the final button to roll it out to alpha. Its not ...
0
votes
1
answer
639
views
How to edit the alpha channel of an existing specular map?
I am working with a third party model and need to change the specular map. The model material is using the spec map's alpha channel information. I have opened the spec map in Photoshop and if I go to ...
0
votes
1
answer
932
views
Libgdx: api fadein() and fadeout() methods are switched?
I've been trying to create a white-screen fade effect for my libgdx game.
When I run the following code with fadeOut = false, nothing happens (white-screen does ...
1
vote
0
answers
422
views
(GameMaker) Smooth scaling and transparency while zooming
My game has a zoom function. There is a man in a spaceship, we can see the interior of the room room from side on as the outside is totally transparent. When I zoom out I want the outside of the ...
6
votes
3
answers
1k
views
Why would one use a separate alpha mask for sprites?
I've seen tilesets of the game Braid, and for each tileset in the main folder there is an alpha map for it in "alpha" folder.
I wonder, why just not to draw your image as it is (with transparent ...
0
votes
1
answer
6k
views
In Unity, how do I make a mesh change its opacity during runtime?
I'm trying to make a isometric game. I want to make it so that when the player goes behind a wall, the wall's alpha goes down.
How do I go about doing this?
I have this code that I made, but I don't ...
3
votes
0
answers
188
views
Bitmap font engine: When is color modulation not supported?
I am developing a bitmap font renderer for a 2D game using SDL 2. (If it matters, I'm using Debian 8 "jessie".) I had planned on storing the glyphs as a grayscale image, translating gray levels to ...
1
vote
1
answer
5k
views
What are do's and don'ts on published APK for alpha and beta testing and how to manage it in Google Play for developers? [closed]
Before the official public release or publishing the first prototype game, I learned about alpha and beta testing in order to gain feedback and fixes needed to improve or correct the game's system. I ...
0
votes
2
answers
10k
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 ...
1
vote
1
answer
99
views
Pack four alpha maps into one
I have read an article about texture splatting that says:
Because the alphamap only has to be in a single channel of a texture,
we can pack up to four alphamaps into a single texture – one in red,
...
1
vote
2
answers
387
views
How to calculate alpha for n channels, so the sum equals 1 (100% coverage)?
Having "n" number of overlaying channels (bitmaps in the same place, layers etc.) how to calculate required alpha for each of them, so they "hide" background completely?
Each layer can have equal ...
2
votes
0
answers
119
views
Should I post a playable demo on Kickstarter? [closed]
I am asking this question way in advance of my progress, but I am still curious and would like if to know in case I ever make it this far. So I'll phrase this hypothetically in the future.
The game I ...
3
votes
1
answer
5k
views
Discard Transparent Pixels in Z-Buffer
I am building a 2D game using sprites. I'd like to use the z-buffer to aid with shading.
For that I need Unity to write only opaque pixels to the z-buffer (aka depth buffer). In Unity, sprites are ...
0
votes
1
answer
3k
views
Get color array with alpha for an image in java
I can get the pixel array like this:
int[] pixels = image.getRGB(0, 0, width, height, null, 0, width);
But it ignores the alpha channel, I only get the rgb (I'm ...
1
vote
1
answer
244
views
Give alpha to an object OpenGL ES
I am new on OpenGl and what I want to achieve is to give a texture the alpha from 1.0 to 0.0
I have been searching and only found "how to load alpha in images" but I cant find how to apply alpha to ...
0
votes
1
answer
552
views
OpenGL ES respecting alpha for background but not for objects
I have a problem with the alpha of my game, maybe it is solved in another post but as I am new in OpenGl and Game developemnt I dont understand most of the vocabulary and cant find a solution.
The ...
4
votes
0
answers
392
views
Render on texture with alpha 0 for the background colour
Sorry if the question is stupid but I am very new to opengl.
I render on a target a scene with a couple of object on a background that is nothing more than the clear colour (which is 0.0,0.0,0.0,0.0)...
0
votes
1
answer
416
views
Blending issue with framebuffer
I'm trying to get some particles to work properly - they should blend among themselves but not with the background color. For this I'm using additive blending, textures with premultipled alpha and set ...
0
votes
1
answer
192
views
How can I load a picture with alpha channel in JME?
This code loads a picture into the game:
...
1
vote
1
answer
7k
views
Alpha Value at 0 Shows Black for Android Canvas Bitmap
There have been a few questions similar to this but none seem to give a straight answer. If I am creating a Bitmap from a .png image and want to set a color (i.e. true pink) to transparent, the color ...
0
votes
1
answer
960
views
Set alpha cutoff value Unity3d
I am continuing my previous question( link ). Now its working as per this demo.
and the coding written to set cutoff is here :
...
0
votes
1
answer
953
views
Why do the ALPHA channel in TGA is not visible?
Good morning GDSE,
I am loading a TGA using loadTGA function found in superbible 4th edition source code.
Here is how the image looks in Gimp
You can see I have enabled alpha channel in Gimp, I ...
3
votes
2
answers
479
views
XNA hlsl tex2D() only reads 3 channels from normal maps and specular maps
Our engine uses deferred rendering and at the main draw phase gathers plenty of data from the objects it draws.
In order to save on tex2D calls, we packed our objects' specular maps with all sorts of ...
-1
votes
1
answer
857
views
XNA changing color alpha
I know I can take a color and multiply it by a float to reduce its alpha like that:
Color color = Color.Green * 0.15f;
But how do I return the color's alpha to ...
3
votes
1
answer
766
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 (...
3
votes
1
answer
1k
views
XNA 4.0 - Why does using a RenderTarget2d cause transparency on models?
I have been working through Riemers ShadowMap tutorial and everything was going well until the section on drawing to a separate rendertarget. I am using a different model and quads but I assumed the ...
0
votes
0
answers
164
views
How to put OpenGL in a state for drawing blended, colored, nontextured polys?
Using OpenGL1.1 (sadly) I'm trying to draw a cube, which is colored and alpha blended. It is instead showing up as opaque black. Even without including alpha in the color it still shows up as opaque ...
4
votes
2
answers
7k
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 ...
4
votes
2
answers
461
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 ...
0
votes
1
answer
660
views
Incorrect colour blending when using a pixel shader with XNA
I'm using XNA 4.0 to create a 2D game and while implementing a layer tinting pixel shader I noticed that when the texture's alpha value is anything between 1 or 0 the end result is different than ...
3
votes
1
answer
947
views
Premultiplied Alpha And Alpha Testing
I have a shader that is supposed to work with either alpha blending or alpha testing, but the color values being passed in are premultiplied alpha values.
Is there an easy/standard way to have it ...
-1
votes
1
answer
221
views
Slick2D ingoring aplha channel?
When I use the draw method inside a image, it completely ingores the alpha channel and fills it in with white. Is there a way I can draw it where the alpha is see through like it's suppost to be? I ...
4
votes
3
answers
21k
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 ...
28
votes
2
answers
26k
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 ...