Search:

Type: Posts; User: qqca

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,233

    Re: vector multiplication

    I think I found the answer. In the spec 5.9, it is said " Multiply (*) applied to two vectors yields a component-wise multiply". Thanks for reading.
  2. Replies
    1
    Views
    2,233

    vector multiplication

    Hi,

    I saw in some places the following code snippet in the Fragment shader.
    "uniform sampler2D s_tex0;
    varying vec2 v_texCoord;
    varying vec4 v_primaryColor;
    void main()
    {
    gl_FragColor =...
  3. Replies
    1
    Views
    3,476

    precision highp int?

    Hi ,

    I can understand the precision qualifier like "precision mediump float" but what's the point for assigning "precision mediump int"? Are there any differences between "precision highp int" &...
  4. a question about the "Varying" storage qualifier

    hi,

    About the "Varying" storage qualifier, the OpenGLES Shading Language specification section 4.3.5 says "If single-sampling, the interpolated values is for the fragment center. If...
  5. Re: sampler type

    "When you set a sampler to 0 using glUniform, it doesn't necessarily follow that the shader hardware actually uses the value 0 anywhere to look up which texture to use.[/quote]

    oh, that's...
  6. sampler type

    Thank you but what's the difference between a sampler and a normal uniform? Why GLSL texture functions need such kind of sampler type to access texels?
    :(
  7. a question about the sampler data type in shading language

    Hi,

    I am a newbie in OpenGL Shading language. May I ask a question about the sampler data type in shading language here?

    The GLESSL spec. says sampler types can only be defined as uniform or...
  8. Replies
    10
    Views
    11,852

    I opened the project in EVC4. I didn't start the...

    I opened the project in EVC4. I didn't start the project from scratch coz it is provided in the glutes-1.11 package.

    Some guy suggestes changing the project setting from...
  9. Replies
    10
    Views
    11,852

    link error when building the sample in GLUT|ES package 1.11.

    Hi,

    I am trying the sample in GLUT|ES package but I got some errors.
    I am using the EVC4 project file in E:\GLUT_ES\glutes-1.11\Sample\EVC4.0\, supposed my GLUT|ES package is under E:\GLUT_ES.
    ...
Results 1 to 9 of 19