Questions tagged [per-pixel]

The tag has no usage guidance.

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

Per pixel collision depth

I need to modify the code below to get the penetration depth from the per pixel collision and return it as a Vector2 to later apply it to the character position. ...
user avatar
  • 51
1 vote
0 answers
64 views

How do I ensure my Android build is not darker than in Editor?

My scene on the Android Build looks much darker. Based on my research about the topic, and from the texture of the light on the spheres, I assume it is because the light uses per vertex render mode ...
user avatar
0 votes
2 answers
140 views

Pixel-perfect 3D sprite-picking on cylidrical-billboarded sprites?

Background Info I have an OpenGL app where a player (just an AABB with an eye-height, look and move vectors), can walk along a 3D grid made of a square cells, essentially like a player walking along ...
user avatar
  • 49
3 votes
1 answer
3k views

How can I efficiently make a solid Texture2D?

I am trying to programmatically make an Image to cover the entire screen. I create the Texture2D, then create a Sprite from the ...
user avatar
  • 5,231
0 votes
2 answers
743 views

per-pixel collisions using Libgdx Java (is there existing class for this??)?

I am making a simple side scrolling space shooter game using Libgdx and everything is going nicely. However until now I haven't been testing collisions for my players ship with other ships. I have ...
user avatar
0 votes
1 answer
165 views

Closest to hardware/fastest pixel manipulation

I am currently working on the concept of a game, but I'm running into some problems. For the game, I'd like to be able to directly change pixels on screen. However, all approaches that I tried so far ...
user avatar
  • 355
2 votes
1 answer
644 views

Java/Libgdx Pixel game with individual pixel changing

I am currently trying to make a game with pixelated graphics. The game is supposed to run with as few textures as possible. Instead of this it is supposed to generate the levels randomly, and fill in ...
user avatar
  • 355
1 vote
2 answers
316 views

Boost per-pixel rendering

I'm writing my own renderer in pure java without any external libraries. I'm using per-pixel rendering. I'm rendering an image with this method: ...
user avatar
0 votes
1 answer
370 views

Transparency on pixel level?

I'm using java and I do pixel-by-pixel rendering (a pixel array from an ARGB BufferedImage). So a color is 0xAARRGGBB. Now how can I render a transparent color? I guess that I should manipulate the ...
user avatar
4 votes
2 answers
5k views

Per-pixel displacement mapping GLSL

Im trying to implement a per-pixel displacement shader in GLSL. I read through several papers and "tutorials" I found and ended up with trying to implement the approach NVIDIA used in their Cascade ...
user avatar
  • 141
0 votes
1 answer
370 views

Per-fragment lighting system behaves like ambient lighting system

This is the relevant section of my fragment shader ...
user avatar
  • 805
3 votes
1 answer
178 views

How to determine depth of a pixel perfect collision

I am trying to figure out how to determine the depth of a pixel perfect collision in XNA. I want to know the depth in order to be able to use it in my collision response. At the moment I have the ...
user avatar
  • 8,279