Search:

Type: Posts; User: 11&2

Search: Search took 0.00 seconds.

  1. texImage2D use with canvas ImageData Pixel Object

    Hi,

    according to the webgl reference:
    http://www.khronos.org/files/webgl/webg ... rd-1_0.pdf
    It says under texImage2D object:
    "pixels of type ImageData".

    So I tried load a Image like so:
  2. Replies
    1
    Views
    2,407

    Blending Bitmap Fonts, Retain Antialiasing?

    Hi,

    I prerendered some fonts with the angelcode font tool.

    To Blend against a chosen colour (in this example white) I use the following code:



    gl.blendFunc(gl.SRC_ALPHA,...
  3. Re: Performance More Shaderprograms VS. IF Statements in Sha

    Thanks for the input
  4. Performance More Shaderprograms VS. IF Statements in Shader?

    Hi,

    what is the better option, to compile and link various shaders for various tasks/objects (some are textured others not etc.) or should I just use one big shader and use If Statements in it? I...
  5. Replies
    1
    Views
    2,310

    Render Text in perspective Mode?

    Hi,

    I want to render text for my app. Normaly one would use glOrtho for pixel accurate quad rendering BUT in my app the textbox should move in the background (z).

    Just imagine you have NPCs...
  6. Re: ReadPixels from Framebuffer Object (fbo) => wrong Colors

    The Problem lies within "Minefield", when I build with Webkit the error is gone and I get the expected colors.
  7. ReadPixels from Framebuffer Object (fbo) => wrong Colors?

    Hi,

    for selection Im using the color picking method, the rendering etc. is working fine but I get the wrong colors.



    var back_colors = [
    // Front face
    224/255, 0.0, 0.0,...
Results 1 to 7 of 7