-
Hi, I'm having what is probably a conceptual problem with the terrain engine. If I wanted to generate terrain procedurally could I somehow create a RenderableMesh , and (for deferred rendering) a DeferredTerrainEffect, and assign the latter to the former? Moreover, since the geometry for terrains...
-
This one is for John/Phillipe, Does using a sprite container for non-renderable effects (such as simply a diffuse map) provide any optimization? If one simply wishes to render a texture on the screen without material effects, is there an advantage to not using the basic sprite batch? Further, in a portion...
-
[quote user="Tom"] Where did you get that model? [/quote] It's from the CryTek site. Perfect for testing lighting and rendering. Here a video of the ambient occlusion effect in action... If you want more insight, http://www.nelxon.com/954/horizon-based-ambient-occlusion-in-xna-4/ Oh and...
-
Hi, I've implemented a quite basic shader that I'm loading as demonstrated in the Custom Effect sample. The goal is to render a simple Quad with two textures that are unlitted. I've developped the shader with Nick gravelyn's Shader Toy which uses a simple XNA Game viewport to render the...
-
I am trying to implement a custom effect for one of my animated models. I've had the problem, though, that anything I rendered with my custom effect was overexposed, although lighting was at intensity 1.0. While testing, I've found that the colors of the rendered result were always twice as bright...
-
Thanks JohnK. The deferred rendering option sounds sounds like it might be the simplest way forward since the edge-effect post processor does indeed seem to only detect differences in the depth and normals, so I could probably just use what is already provided by Sunburn's deferred buffer object...
-
Hi all, I am cleaning up my code so that everything is part of the SunBurn rendering system (I had some quads rendering after the SceneInterface Render() call using some Depth tricks to achieve the expected result) and in order to do so, it would require these SceneObjects to avoid applying the Lights...
-
Hi Jhon, Yes. Your updated Billboard class works fine. I've given below some screen shots from the game. 1) With a new instance of BasicEffect 2 ) With a custom Effect P.S. :- Until I get a decent foliage texture from our graphics designer I have used the same texture that I have for my tree leaves...
-
Hi, Could anyone come up with a small Update/Draw sample code on how to use FullFrameQuad? I've been trying to use it for the whole afternoon with no success... and can't get any idea on what I'm doing wrong... Just for some clarification: I'm simply creating a Fade In / Fade Out effect...
-
Hey, I'm having some issues with custom geometry. It casts shadows to world around, but it itself is completely invisisble. We create a mesh in code, using a vertex buffer, index buffer and vertex positionnormaltexture for our vertex type. CustomMesh FinalBall = new CustomMesh(VertexBuffer, IndexBuffer...