Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 19 Nov 2008
Offline Last Active Feb 16 2012 11:54 AM

Posts I've Made

In Topic: TransparencyAA10.1 BackFace Problem

16 February 2012 - 07:45 AM

So i have found the problem...
in the SDK Shader the RasterizerState is set twice... That's not working right... and Culling is using the default Value

technique10 RenderAlphaToCoverage
pass P0
SetDepthStencilState( EnableDepthTestWrite, 0 );
SetRasterizerState( DisableCulling );
SetRasterizerState( EnableMultisampling );
SetBlendState( AlphaToCoverage, float4( 0.0f, 0.0f, 0.0f, 0.0f ), 0xFFFFFFFF );

SetVertexShader( CompileShader( vs_4_0, VsRenderScene() ) );
SetGeometryShader( NULL );
SetPixelShader( CompileShader( ps_4_0, PsAlphaToCoverage() ) );

In Topic: [SlimDX] FallenTemple Demo (underwater)

28 May 2010 - 04:42 AM

so the graphic looks nice, but it's still DX9, old style and very simple techniques, so LensFlare is a must have :-)

no, you're right, and it's just one switch to turn it off.

the vegetation ist very simple, you can load the center-position's from a file and switch between ,tree's, palm's,grass or plant's and randomize to get a jungle. The geometry is very simple using billboards, crossboards or starboards for grass.
So you have just one position for sorting and frustum-test, other vertices are generated by vertexshader, passing the scaling values. That makes sorting fast.
Tree's, palm's and plant's switch to billboards if a distancevalue from player has reached.

Tree's, Plan't and Palm's are renderd in 2Pass with Z-Buffer and Alphablending without Z-Buffer. Alphatest ist done in shader with clip command.
Grass is rendert in one pass, only Z-Test and Alphablending

So i've 3 VBuffers
VB1 = grass (3 quads)
VB2 = other plants (2 or 1 quad)
VB3 = other plants no waveeffect and 1 quad

the third buffer is rendering the reflected vegetation on the watermap

In Topic: [SlimDX] new engine video watershading

16 May 2010 - 09:21 PM

So here is the updated Video with new terrain-model and terrainshading by height and normal value's...
have fun...

The Fallen Temple 2

In Topic: [SlimDX] new engine video watershading

25 April 2010 - 05:54 AM

Hey !! Thank you :-)
if someone has some webspace, the compiled demo could be released for downloading to watch it live.

In Topic: [SlimDX] new engine video watershading

25 April 2010 - 12:08 AM

The terrain ist just a simple model for testing :-) so i think i must create a new one and textur it by shader...
the sky is a simple procedural sky.

The article for technical background will be released @wordpress, but still in german language...

so the basic technique to render the water is by creating a:
refractionmap, reflectionmap, a depthmap for waterfog and softedges.
specular is done by render a specularmap, bloom it and @by postprocess to scene.