scroll flags 4 broken

Issue #38 closed
Benjamin Hoffmann created an issue

The flags = 4 is not working on scrolls :

scroll[0].flags1 = 4;   
scroll[0].flags2 = 4;   

Does the "flags = 4" have been removed because it's the same as "alpha = 128" ? Add alpha value to scroll ?

The others scroll flags seems to works well.

Comments (3)

  1. Joseba Echevarria García repo owner

    flags=4 is unsupported, yes.

    As you say, I should support the alpha variable for scrolls. I should probably also add support for modr, modg and modb variables, which provide per-channel color modulation.

  2. Joseba Echevarria García repo owner

    Commit 150953b adds support for modr1, modg1, modb1, modr2, modg2, modb2 in the scroll structure, so that you can colour-modulate the scrolls, too. It also fixes a few bugs that appeared with very large textures.

    A later commit today should add support for alpha in scrolls.

  3. Log in to comment