Openage: Rendering Glitch: Purple Trees

Created on 24 Aug 2015  路  6Comments  路  Source: SFTtech/openage

Running Mesa 11.0-git, Arch Linux 64bit, MATE, AMD Radeon HD 7750.

I don't remember trees being this purple in the original game. Most likely a Mesa bug.

Purple Trees

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

bug c++ rendering

All 6 comments

Will be addressed in #287, i'll implement outline rendering properly which should fix this.

Could be caused by the original textures. Apparently "pink = transparency" is a feature of the Genie engine according to Matt Pritchard.

In our art tools, and renderings. Transparency was always color index 255, and viewed as pink (RGB 255, 0, 255)

Source

Can anyone try to reproduce and change the color in the shader?

Can confirm that @sandsmark is right. When set to this:

pixel = vec4(0.0/255.0, 0.0/255.0, 0.0/255.0, 1.0);

Trees are no longer pink.

openage_2017-11-14_19-04-34_00

On second thought, this might be a player colour that is reserved for Gaia. Gaia objects are only supposed to show outlines when a villager interacts with them. The outline of a Gaia object then gets assigned the same colour as the player colour of the villager. Disregard, trees are the exception from that rule. Gaia objects - except trees - get a white outline. That's the same base colour as player 7.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheJJ picture TheJJ  路  11Comments

heinezen picture heinezen  路  8Comments

okias picture okias  路  3Comments

samuelgrigolato picture samuelgrigolato  路  4Comments

heinezen picture heinezen  路  6Comments