Skip to content

glsl ifdef generator does not set define anytime #190

@illwieckz

Description

@illwieckz

See #189 for a branch that reproduces the bug (you need Xonotic assets since Unvanquished ones run the code used when the define is not defined).

It looks like the define is not defined any time as while I move in map, the wrong code is sometime run instead of the expected one:

glsl ifdef

glsl ifdef

The bug is on the wall texture, not on the blooming reactor.

I understand nothing from the define generator code and I need help to fix it, or someone who understands it to fix it himself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions