• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.


  • Content count

  • Joined

  • Last visited

Community Reputation

280 Neutral

About grunt123

  • Rank
  1.   thx for the reply. But, that pdf is about global fog effects, which is different from what frostbite volume tech is doing.  Frostbite volume is rendering a local/individual fog volume, so it can render multiple number of fog volumes that are differently authored by artist. (and each fog volume can have its own noise texture too).  If this is global fog effect (that is used in AC4 in that pdf), i would agree that low res texture would suffice ... But, for localized volume rendering? i'm not quite sure.  Frostbite volume tech is using temporal reprojection trick, but does this help much ?  i implemented simple version of frostbite tech just to render local volumes, and rendering into low res (froxel size buffer) produced really low quality volume.
  2. http://www.frostbite.com/2015/08/physically-based-unified-volumetric-rendering-in-frostbite/   i'm specifically looking at the above paper.  In there, it's using so called 'froxel' technique to do volumetric rendering.  i think i understand the overall idea, but i just can't figure out how to voxelize participating media.  They are using 'VBuffer', and is this 3D texture that has the same dimension as main froxel buffer? If so, it seems way too low resolution for rendering density media?   i'd appreciate any help on this.
  3. Hi, all   I've read a couple of presentations on volume rendering. (Frostbite volume rendering, AC4 volume fog), They are using 3D texture as intermediate storage that is later used for ray marching (so that you can raymarch once for multiple volume entities).  However, you need to 'voxelize' the volume entities into this intermediate 3D storage ... can anyone explain how to achieve this?    i think since the target rt is 3D texture, we need to render the volume entities into each depth slice of 3D texture with adjusted near/far plane ... but not sure.   thanks in advance.
  4. Hi,    i'm trying to implement directional shadow in cube reflection map.  I'm trying to avoid the case where i have to re-render reflected objects into separate shadow map.  Here is what i'm thinking ...   - render cube reflectionmap along with cube depth map - for each pixel in reflectionmap, (all cube texture) cast a ray to the sun, and use cube depth map to check if ray is obstructed by object - if it's obstructed, then shade a pixel.   i'm not quite sure about step 2, is it possible to use the ray vector as reflection vector into cubemap ref. texture? 
  5. thanks for the link.  seems to be a great source of materials.
  6. yes, 3x3 pcf/soft shadow. (blurring)  But, still seeing 'chain-saw' edges, especially in distant cascades .... What type of filtering can improve the situation? maybe, EVSM? 
  7. Hi,   I'm working on improving cascade shadows for my project.  The main problem is that for cascades that are distant (i have 4 cascades) i see some kind of 'chain-saw' looking edge.  i thought about implementing SDSM, but my project doesn't allow GPU-generated data to be used for cascade bounds ... (we have two threads, one doing all update and the other doing all the rendering)     Is there any other way of countering this kinds of visual problem in cascade shadow?
  8. ... without using copyresource/copysubresource?   i need to copy depth/stencil from one depth target to another using blitting screen aligned rectangle (via shader). i'm able to copy depth info, but somehow stencil info is lost.  (i'm guessing it's prolly source shader resource view is R24_X8 type ... )   any idea?
  9. Hi,   i'm trying to update old shader codes.  When i try to use uniform bool shader arguments, i found that shader function is not getting correct value.  So, for example,   technique abc { pass 0 { SetVertexShader( CompileShader( vs_4_0, vs(true) ) ); } };   vsout vs(vsin IN, uniform bool bCheck) { if (bCheck) ... else ... }   it seems bCheck is always false, and i'm not sure what's preventing bool value to be passed to vs function.  Any idea?   thanks.
  10. Hi, I'm trying to do manual viewport transformation in vertex shader ... first, i'm setting an identity viewport matrix by doing the following D3D11_VIEWPORT vp; vp.Width = 2; vp.Height = -2; vp.TopLeftX = -1; vp.TopLeftY = 1; vp.MaxDepth = 1.0f; vp.MinDepth = 0.0f; g_grcCurrentContext->RSSetViewports( 1, &vp ); and then, in vertex shader, after doing world/view/projection transformation, i do the following (given that i want to render into 1024x1024 viewport with 1.0 maxz and 0.0 minz) OUT.pos.x = OUT.pos.x * 512.0f + 512.0f * OUT.pos.w; OUT.pos.y = OUT.pos.y * -512.0f + 512.0f * OUT.pos.w; I can't think of anything else that i need to do to get this working .... i'd appreciate any help, thx
  11. I'm in the process of converting existing project into 3D stereo game. I'm using deferred renderer and directional shadow (cascade) is done during lighting phase. The problem is that depth perception of shadow looks wrong. I'm guessing that this problem is caused by the fact that everything before lighting phase (gbuffer phase) gets stereoized while nothing in lighting phase gets stereorized. I read their doc, but still not quite sure how to solve this problem. Any idea? thanks in advance
  12. I'm not exactly sure how to create pcf shadow filter with gather function properly. If i do depth-compare with each of four components returned by the function, (and the add them up and divide the result by filter size), i'm getting aliasing visual glitch. I've been trying to do bilinear interpolation on the four components returned by the function and then do depth-compare, but wasn't very successful (still visual glitch) Is there something i'm missing? (i know that you can use samplecompare or gathercmp (shader 5.0 only) ...but want to know if there's any way to do pcf filter with gather function.)