Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: noise1() only returns 0 in compute shader (GLSL version 4.3)

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2010

    noise1() only returns 0 in compute shader (GLSL version 4.3)

    Im running a compute shader on an Nvidia GTX 670, on Ubuntu 12.04 using the Nvidia 325.15 drivers.

    All calls to noise1() return 0 regardess of my seed value. Is this normal?

  2. #2
    Senior Member OpenGL Lord
    Join Date
    May 2009
    Normal in the sense that pretty much nobody implements the `noise` functions, yes. If you want noise that works, you'll have to implement it yourself.

    Or use these noise functions.

  3. #3
    Member Regular Contributor
    Join Date
    Apr 2009
    I think i saw tablet with PVR chip some time ago that did return noise from those functions. Mesa (swrast) also does

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts