Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1067 Excellent

About Drilian

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1.   That's an apples to horseshoes comparison, though, unless I'm misreading - they're comparing the timings of two different techniques (both of which are running in compute from the sound of it) and comparing the timings of each. Yeah, the constant-time shader is slower, but it's solving a different problem. You wouldn't use that for a small kernel because of all the extra overhead involved.   There are other ways to make compute blur faster (like using groupshared memory which doesn't seem to be mentioned in that article, which can drastically reduce your memory accesses), but it doesn't say anything about comparing a 1:1 pixel shader:compute shader version of the same operations.   Also, how you decide to break your compute shader up can make a difference with performance (including cache coherency) - if your compute shader's thread groups load/store things in BLOCKS as opposed to in scanlines, you're likely to get better coherency group to group because you'll be writing into places that are related in memory, as I understand it.   I don't think that compute postprocessing is NECESSARILY slower than a pixel shader, but it does likely depend at least partly on how you've got it set up.
  2. Thanks for the info. Yeah, that kinda sucks (it's a sad regression from D3D11), but I've at least worked around it in the short term by having a simple copy postprocess (via a pixel shader) that gets things onto the backbuffer and still allows all of my postproc to run as compute (as you suggested).   Thanks again!   EDIT: I suppose I could use CopyTextureRegion instead and use that fancy DMA hardware that may or may exist, if I'm already using a backbuffer-format-compatible texture by the time I'm at the end of the postproc chain. But a pixel shader works well enough for now.
  3. Hey! I was hoping to do all of my postprocessing (tonemapping, bloom, etc) in my D3D12 renderer using compute shaders, Thus, I think, in an ideal world I'd just write to it as a RWTexture2D<float4> in the compute shader and blast the processed colors out directly.   However, IDXGIFactory4::CreateSwapChain fails if I try to specify a BufferUsage that contains DXGI_USAGE_UNORDERED_ACCESS ("DXGI ERROR: IDXGIFactory::CreateSwapChain: The BufferUsage field of the swapchain description contains some DXGI_USAGE flags that are not supported.")   Without that, I can't create an unordered access view to it, or transition it into the proper state using a resource barrier, so I can't seem to write to it using a compute shader at all!   Is there a way around this (another way to write to a texture from compute, or another way to create a swap chain that plays nice), or should I just go back to postprocessing using pixel shaders like a caveman?
  4. Drilian

    methods for drawing rain

    For what it's worth, Infamous: Second Son used the particle system to render up to 25,000 raindrops near your field of view, and uses a rain "shadow map" to determine where the particles should spawn (and end). That includes, I believe, the particles for the splashes on objects (which are randomly scattered throughout the view and spawned wherever the rain shadow map's depth says they should be for that point). The splashes, I should note, are not tied to where the actual raindrops intersect the ground - it turns out that totally doesn't matter.   Using a nice GPU-driven particle system on relatively modern hardware, you should be able to handle particle rain like that fairly efficiently.
  5. Drilian

    What to write with now?

    You need to sign up for a creator's club account to be able to submit to Xbox Live Indie Games. It's $99/year, but it's what allows you to develop and release on the Xbox.   People are still releasing XBLIGs, so it's definitely not disabled :)
  6. Drilian

    What to write with now?

    To expand on Jutaris' comments, XNA is not DEAD. It's just not being developed anymore.   However, everything that XNA has done in the past (PC/Xbox/Windows Phone 7 games), you can STILL DO. You can still get XNA, you can still write games with it, you can still release those games on any of the ever-supported platforms.   All "XNA is dead" really means, as it's stated is that Microsoft is no longer planning new revisions of it, so we're stuck with XNA 4.0 unless they change their minds.
  7. Drilian

    The Downward Spiral

    I can sort of see both sides of this one: 1. It's stonemetal's personal blog (hosted by gdnet), and thus, he should be able to moderate comments if he wants, just like he could if he'd posted it to Wordpress or some other standard blogging site. 2. It's on gamedev.net and part of all of the content here has traditionally been the ability to freely comment on, without restriction. Personally, I would like to see gamedev not allow this sort of comment moderation on dev journals hosted here, as it would keep the content posted to the site at a higher standard of accountability, but considering other choices made in the site redesign, I don't think that's particularly high on their list. If he wants to moderate comments on his posts, he could post them to a 3rd party blog, but I'd personally prefer it if journals on gdnet didn't have that capability. tl;dr: I agree with Aardvajk on this one
  8. Drilian


    Great so far! The music in the title screen is really chipper considering the hellish, fiery landscape in the background I have trouble still keeping track of my arms...it'd be nice if they were labelled with L and R instead of just the colors (or, better, keep the colors but only show them to the left or right half of the "hand" depending on which button it's assigned to) so that I could better track which was which... I had the same problem with the orange/blue portals in Portal, so you're at least in good company Your transitions between scenes are lovely! Very smooth, very nice Keep rockin' it, it's looking/playing pretty solid!
  9. Drilian

    Game Development Progress, Of Sorts

    No, it doesn't take that much time! It's not like I've been working on this project for three years or anything like that! Wait...it IS? I HAVE? Fffffffffuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu<connection terminated>
  10. Drilian

    What Does Everyone Think About The New Site Layout?

    You're right. It very clearly said something along the lines of "helpful or friendly" which is not, at all, just the "technical competence" that you have mentioned. Overall, I basically agree with MikeP. While I do like the concept of rating posts rather than users, I feel like not being able to rate posts DOWN is, overall, a detriment to the community in my opinion.
  11. Drilian


    Quote:Original post by Aardvajk Glad great minds thinking alike [smile]. You're updating your journal even less than me at the moment. What are you up to? And where the hell is Milkshake? Bought an island off the iPhone sales of Melon Golf and given up gamedev I reckon. Hah...I guess I should probably update my journal ever again, eh?
  12. Drilian


    That's the exact same mechanism I ended up using for Procyon's enemy flight paths, to get constant speed :) Glad I'm not the only one that backed off of the ideal of pure curves and went with subdivided line segments instead :)
  13. Drilian

    Gross you out you nerd b*star*ds

  14. Drilian

    More modeling/texturing practice

    niiiiiice! Nobody would ever accuse that of being programmer art :D
  15. Drilian

    Avatar Man...

    Congrats! While it's decidedly simpler than your last two games, I will say that I played it for much longer while peer reviewing it than I'd intended to, so you obviously did SOMETHING right :D
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!