-
Hi guys, Can anybody please point me to a tutorial on rendering a custom cube using vertex & index buffers using SunBurn? I am currently having trouble trying to "convert" the Creator's Club cube primitive rendering code for use in SunBurn. I instantiated a SceneObject for the vertex...
-
Can SunBurn generate lightmaps at runtime (ie, as the level loads - in the loading screen) for use on a procedurally generated level?
-
Hello, I've been searching through the forums and experimenting with various aspects of Sunburn. I've read a few posts on using generated geometry for terrains. Unfortunately, I have failed miserably at rendering generated geometry. I figured I would start out with the basics and render 3d primitives...
-
Would it be possible to apply a Sunburn to game-generated geometry? I would also like to incorporate it in the sunburn a similar manner to loaded geometry. I'm essentially trying to render a triangle, then apply an effect to it which is stored in a sunburn .mat file. Once again, I'd like to thank...
-
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...
-
I *know* SunBurn should never allocate while running, but right now I'm really confused as to where the allocations might be coming. There is an area that makes the framerate drop dramatically, it coincides with allocations. I've profiled using CLR Profiler my game several times. It seems the...
-
I am working on a custom effect which uses a texture to displace vertices for terrain. The effect is largely based on the deferred custom effect wobble, except I am using a tex2dlod to access a single format texture for the terrain height values. The effect works on a Geforce 9400m and a Geforce 260...
-
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...
-
Ok, I couldn't wait longer as I want to make my decision on using SunBurn or not for my next game. Therefore, here is my current implementation (slightly modified as my game engine structure makes use of Game states that are out of topic and would only confuse the message ;) ) So, I have a Starfield...