Skip to content

Alpha/Color issues with Gosu/Ashton #32

Open
@Aerotune

Description

@Aerotune

I'm having some issues with getting Gosu and Ashton to render clean images.

Without Ashton I've found out that drawing a Gosu::Image on any non-whole position or up/down scaling makes some dark edges appear. It's not noticeable on a blurry picture.
screenshot_shader_off

With Ashton a shader that does nothing on the pyramides it messes up the colors and alpha channel. (gl_FragColor = texture2D(in_Texture, var_TexCoord); I'm not opengl savvy, am I doing something wrong?)
screenshot_shader_on

I've made a test case project here: https://github.com/Aerotune/ashton_alpha_issue
I'm using Gosu 0.7.50, Ashton 0.1.3 and I'm running Mac OS 10.7.5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions