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!


dvds414

Member Since 13 Jun 2013
Offline Last Active Sep 18 2013 02:06 PM

Topics I've Started

Shadowing Techniques?

17 September 2013 - 06:24 PM

Is there any good shadowing techniques that work really well in XNA and are easy to implement. I have seen lots of tutorials on shadows, but many do not work on big worlds it seems like almost like the depth map can't see that far? I really just need help rendering shadow maps onto large worlds. If anyone has seen a good article or use a certain method please tell me. Thanks in advance!


My Building

29 August 2013 - 12:45 PM

Can someone give me some opinions real quick on this model? I am trying to sell it online and it has a good amount of views, but no sales sad.png

 

I put it up for $45, what do you guys think it should be?

 

Render01.png962df7be-3640-4784-a9bb-1f9cRender02.png05ced401-9714-4b3b-a1a6-6d62Render05.png778c9bf5-5133-4436-aa23-1f4a

Opinion on My Artwork?

26 August 2013 - 02:11 PM

Render01.png175e473e-ff58-4f2a-b7a5-21a7Render02.png547a7b42-fc61-4897-b2ac-4778Render03.png414e1638-0c31-42ef-a014-3403Render05.png4410e696-25f2-47ce-bbbc-7d8f

 

Here is a recent model I made for my game. I also want to sell this model online. Can I get some opinions please?


Ambient Occlusion from Depth Map?

20 August 2013 - 06:20 PM

Hello, does anyone here have any suggestions on how to do Ambient Occlusion from a depth map? I have been trying for a very long time to figure out an equation, but have not been able to. Currently I am using:

 

Occlusion = 255 + ((LeftSample + RightSample + UpSample + DownSample) / 4) - CurrentPixel

 

It does this for every pixel on the screen being displayed. I am not currently looking for a language specific answer more of just some sort of equation I could use on every pixel of a depth map to get the ambient occlusion. Perhaps someone could just get me headed in the right direction?


Game Won't Compile when Using my Manager?

20 August 2013 - 04:41 PM

So I am having this issue with a line of code claiming that I am referencing a different effect that is not basiceffect?

 

foreach (ModelMesh Mesh in Model.Meshes)
                foreach (BasicEffect ES in Mesh.Effects)
                    Textures[i++] = ES.Texture;

 

Those are the lines of code that fail for me, I have a manager that spawns 5 buildings and calls that texture loading method right there 5 times. For some reason though I get the error: Unable to cast object of type 'Microsoft.Xna.Framework.Graphics.Effect' to type 'Microsoft.Xna.Framework.Graphics.BasicEffect'.

 

Does anyone have a fix for this?


PARTNERS