Xonotic Forums
Textures: Julius's Light Beams - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Editing and Concept Art (https://forums.xonotic.org/forumdisplay.php?fid=11)
+--- Thread: Textures: Julius's Light Beams (/showthread.php?tid=7888)



Textures: Julius's Light Beams - Julius - 12-07-2018

Julius Beams Texture Set


File: jul_beams_v1.1.zip
License: CC BY-SA 3.0


This is a small texture set of light beams that I have made trying to mimic
a natural light falloff.

The set is comprised of 13 textures of different color tones plus another 13
texture variants in which I have added some noise effect for a rotating animation.


[attachment=1842]
[attachment=1844]
[attachment=1845]


As a note I want to mention the blend mode I have chosen -after some experiments-
for these textures: It is a sort of Additive + Multiplicative blend modes.

blend equation: (source * 1) + (dest * (1 - source))
shader directive: blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR

"souce" represents the texture itself whereas “dest” is the content of the frame
buffer or, in other words, the background with which to blend the texture.


This is the shader:


Code:
textures/julius_beams/beam01
{
    qer_editorImage textures/julius/beams/beam01.tga
    //qer_trans 0.50

    cull none

    surfaceparm trans
    surfaceparm nonsolid
    surfaceparm nolightmap

    {
        map textures/julius/beams/beam01.tga
        rgbGen identity
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
    }
}



And this the animated version:


Code:
textures/julius_beams/beam01_ANI
{
    qer_editorImage textures/julius/beams/beam01b.tga
    //qer_trans 0.50

    cull none

    surfaceparm trans
    surfaceparm nonsolid
    surfaceparm nolightmap

    {
        map textures/julius/beams/beam01b.tga
        rgbGen identity
        tcMod scale 4.0 1.0
        tcMod scroll 0.25 0.0
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
    }
}




Any comments are really appreciated.


RE: Textures: Julius's Light Beams - BuddyFriendGuy - 12-08-2018

Just want to say thank you!


RE: Textures: Julius's Light Beams - Julius - 01-11-2019

Updated the download link with v1.1.

Changelog is minimal:

- Deleted some alpha channel added by Gimp.




.