Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Dithering Effect [LibGDX]  (Read 5841 times)
0 Members and 1 Guest are viewing this topic.
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Posted 2013-11-15 22:41:58 »

A while ago I posted a question regarding blurring, however now I'm noticing dithering.

Here's a screenshot of what it looks like, with no movement.


Here's sort of (I couldn't get a screenshot of it) what it looks like when I move the sprite.


This happens when the background moves too.
I've searched around but found no previous questions regarding this problem. How can I fix it?

Note: Oddly this only happens with horizontal movement and not vertical movement.
Edit: I've tried Gdx.gl.glDisable(GL20.GL_DITHER) without success. The pixel format is RGBA8888.

Why are all OpenGL tutorials written in Brainf**k?
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #1 - Posted 2013-11-20 14:12:09 »

This is still happening. Just bumping it up. Smiley

Why are all OpenGL tutorials written in Brainf**k?
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #2 - Posted 2013-11-20 15:10:42 »

I gess we need some code..
Init of opengl / drawing of the char.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline theagentd
« Reply #3 - Posted 2013-11-20 15:13:15 »

This is most likely an artifact of your monitor, hence you can't screenshot it. Some older/cheaper TN monitors look like that when high contrast colors move at 1 pixel / frame when V-synced. It bothered me a lot when I had my old monitor.

Myomyomyo.
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #4 - Posted 2013-11-20 15:35:12 »

I gess we need some code..
Init of opengl / drawing of the char.

It's nothing special; I'm just setting up an orthographic camera, drawing a sprite in a sprite-batch and rendering a tiled map. I highly doubt it's my code.

This is most likely an artifact of your monitor, hence you can't screenshot it. Some older/cheaper TN monitors look like that when high contrast colors move at 1 pixel / frame when V-synced. It bothered me a lot when I had my old monitor.

I can't screenshot it because it pauses as I press the screenshot button. Other games don't seem to dither for me, but you could possibly be correct.

Why are all OpenGL tutorials written in Brainf**k?
Offline Herjan
« Reply #5 - Posted 2013-11-20 15:46:40 »

This is most likely an artifact of your monitor, hence you can't screenshot it. Some older/cheaper TN monitors look like that when high contrast colors move at 1 pixel / frame when V-synced. It bothered me a lot when I had my old monitor.

Know about that, it can also be the (VGA-)cable, a few months ago I bought a new monitor to replace my second monitor, and it also blurred/dithered (with the old VGA-cable), so I tried the new VGA-cable (which was a little bit too short, anyways) and that solved the problem.

Offline theagentd
« Reply #6 - Posted 2013-11-20 15:52:54 »

This is most likely an artifact of your monitor, hence you can't screenshot it. Some older/cheaper TN monitors look like that when high contrast colors move at 1 pixel / frame when V-synced. It bothered me a lot when I had my old monitor.

I can't screenshot it because it pauses as I press the screenshot button. Other games don't seem to dither for me, but you could possibly be correct.
If it freezes it fixes itself of course since the image isn't moving for (at least) an extra frame. What monitor do you have?

Myomyomyo.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (22 views)
2014-09-19 03:14:18

Dwinin (37 views)
2014-09-12 09:08:26

Norakomi (65 views)
2014-09-10 13:57:51

TehJavaDev (91 views)
2014-09-10 06:39:09

Tekkerue (45 views)
2014-09-09 02:24:56

mitcheeb (66 views)
2014-09-08 06:06:29

BurntPizza (49 views)
2014-09-07 01:13:42

Longarmx (36 views)
2014-09-07 01:12:14

Longarmx (42 views)
2014-09-07 01:11:22

Longarmx (38 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!