Powder Toy + Compute Shaders (DirectX11)

  • h4zardz1
    30th May 2014 Member 0 Permalink
    @mniip (View Post)
    oh....so you can replace english commas with another type of commas, like russian?
    Edited once by h4zardz1. Last: 30th May 2014
  • mniip
    30th May 2014 Developer 1 Permalink
    @HungryDoodles (View Post)

    DirectX11 is not open source is what I mean.
  • weapon-man
    6th Jul 2014 Member 0 Permalink

    The Powder Toy can have shaders through deco. Somethings look better with shaders, and some look better without shaders. We should keep the option of wether we can see shaders or not.

  • jacksonmj
    6th Jul 2014 Developer 2 Permalink

    @weapon-man (View Post)

    This thread isn't actually about graphics, it's about using the GPU for calculations that are unrelated to graphics (such as air simulation).

  • zBuilder
    6th Jul 2014 Member 0 Permalink

    compute shaders are good for things like transparency, volume, dyntex, etc(Blender Cycles,for example).

    not so much for logic, i.e. which particle is next to another. that's a job for the CPU.

    the reason some tasks are faster on a GPU is because the unit is more focused on those tasks, and indeed can't perform just any general task. CPUs appear slower only because they're trying to do a broad selection of tasks.

  • Jimmyfriend
    4th Sep 2014 Member 0 Permalink

    I'd recommend using OpenCL over DirectX as the game is multiplatform and DirectX is specific to Windows. Also, wouldn't you be using DirectCompute, not DirectX?

     

     

    zBuilder:

    compute shaders are good for things like transparency, volume, dyntex, etc(Blender Cycles,for example).

    not so much for logic, i.e. which particle is next to another. that's a job for the CPU.

    the reason some tasks are faster on a GPU is because the unit is more focused on those tasks, and indeed can't perform just any general task. CPUs appear slower only because they're trying to do a broad selection of tasks.

     Anything that is massively parallelized is good for the GPU. Especially physics computations. GPUs are faster than CPUs in physics calculations by large orders of magnitude.

    Edited 2 times by Jimmyfriend. Last: 4th Sep 2014