Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 04 Jan 2010
Offline Last Active Private

Posts I've Made

In Topic: Tessellated ocean with no culling artifacts.

Today, 06:11 AM

Nope. Unless you have a perfectly flat ocean there will always be some back-facing triangles.

In Topic: Blending texture to backbuffer

14 October 2016 - 08:08 AM

So I wonder, is there some shortcut method to blend 2 textures with the same size, format, and sample count in Direct3D?



Nope. ID3D11DeviceContext::CopyResource comes closest but doesn't allow multi-sampled resources nor blending. So rendering a full-screen quad/triangle and blending it is.

In Topic: Trouble passing multiple lights

11 October 2016 - 10:21 AM

When using the effect system there's no need to create and bind the buffers on your own. Updating is done through the effect's variables (in this case I guess using ID3DX11EffectVariable::SetRawValue) and then calling ID3DX11EffectPass::Apply().

In Topic: 3D Object doesnt show

08 October 2016 - 06:01 AM

Create the device with D3D11_CREATE_DEVICE_DEBUG and watch the debug output window. The D3D11 debug layer will report screw-ups with (usually) great detail.

In Topic: Perlin Noise - seamless cube maps

18 August 2016 - 03:59 AM

Shouldn't you flip certain coords, e.g. for back (dim - 1 - x, y, dim) or something ?