Jump to content

Saiaku

Members
  • Posts

    28
  • Joined

  • Last visited

Community Answers

  1. Saiaku's post in Moon shader was marked as the answer   
    Fear not, I was able to solve it.
    Just looking into the base shaders for some similar cases, and I found what I was looking for.
     
    Here's the shader I ended up with.
    textures/a_afl_grand_skies/grand_skyobj_moon1 { surfaceparm noimpact surfaceparm nomarks surfaceparm nonsolid surfaceparm trans q3map_nolightmap q3map_novertexshadows { map textures/a_afl_grand_skies/grand_skyobj_moon1b alphaFunc GE192 blendFunc GL_ONE GL_ZERO glow rgbGen wave square 0 1 0 0.0007 alphaGen wave square 0 1 0 0.0007 tcMod scroll 0 0.0014 } } rgbGen and alphaGen is used for hiding the moon during daytime in my map.
     
    Result:
    https://jkhub.org/images/4Bs814C.jpg
    https://jkhub.org/images/vQ0ryTz.jpg
     
    Thanks for reading.
×
×
  • Create New...