shader

  1. Holzchopf

    holzchopf.mojo2maskshaders - Image masking made easy

    This module provides three shaders that can be used to mask images in different ways: AlphaMaskShader A shader that can be used to mask images depending on their pixels alpha values. The threshold value is set via SetAlpha. RedMaskShader A shader that can be used to mask images with a...
  2. Holzchopf

    Shader blends misteriously

    I want to write a shader in mojo2 that draws a fragment when it's alpha value is above a certain threshold. In BlitzMax, I've done something similar once with the offset coming from the vertex alpha... Anyhow, I've come to a point where I have to admit that I have a frustrating problem: When I...
Top Bottom