Questions tagged [per-pixel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
55 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 ...
1
vote
1answer
856 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 ...
0
votes
2answers
592 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 ...
0
votes
1answer
112 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 ...
2
votes
1answer
517 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 ...
1
vote
2answers
268 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: ...
0
votes
1answer
328 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 ...
4
votes
2answers
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 ...
0
votes
1answer
342 views

Per-fragment lighting system behaves like ambient lighting system

This is the relevant section of my fragment shader ...
3
votes
1answer
167 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 ...