alpha gradient

  1. ShiShi

    Dynamically Changing Alpha based on a global

    I'm new to game design and I'm trying to figure out how to make a fog effect that fades in and out depending on a global variable. The global constantly ticks down and the player has to preform certain things to keep it high. When it falls too low (10 or below out of a scale of 100). I want a...
  2. Ricardo

    Job Offer - General [SOLVED] Looking for a alpha gradient shader

    Hi there, I need a shader to apply an alpha gradient into a sprite. With gradient I mean: alpha will be 1 (100%) in a determined point/corner of the sprite that I'll select, and then it'll fading out into the direction/angle I choose. The shader needs to be able to deal with custom...
  3. csanyk

    draw alpha gradient

    I can't figure out how to achieve the following drawing effect: For an arbitrary rectangular region (could be a drawing of text, could be a sprite, could be a surface; basically I'm looking for a general purpose solution): Draw it at full opacity at the top half. Make the bottom half...
Top