Okay. I did some profiling, and I found out that Display.Update takes about 0.01 second. The rest takes almost nothing. What's wrong???
Type: Posts; User: Basaaa
Okay. I did some profiling, and I found out that Display.Update takes about 0.01 second. The rest takes almost nothing. What's wrong???
I fixed the texture issue, and vsync is disabled. I am sure that I should be able to get more FPS with this.
Okay.I got to the point where the first step of deferred shading works. Screenshot:
http://i.imgur.com/q0fZWqk.png
Bottom left looks fine. (world pos)
Top left is supposed to be the texture...
Ok thanks alot.
Thank you both for your info.
I'm not really making a Minecraft clone, it's more like a Voxel-world mmorpg. (Yes, I still have a long way to go but I'm willing to learn and spend a few years on it...
Thank you for your post. Also I would like to apologise for my behaviour, I do appreciate your time and help. I just had a horrible day and I should not have abreacted that on you. (I hope that's...
Actually you answer IS wrong. I tried it here on a 2.1 card, and I can calculate the 100 lights with a 27 FPS. I'm looking for more answer then just yours, that's why I ask it here. I'm not dumb, so...
I'm developing a lighting system for my Voxel engine. It's simply a list of lights containing the following information:
Light Position (Vec3)
Light Color (Vec3)
Light strength (float)
...
Hi guys,
I still have not found the solution, and I really want this to work. I packed the eclipse project in a rar. Could anyone please take a look at the code, and see if anything is wrong?
...
Thanks for the answer, but I already fixed the error.
I placed it in my last posts. I now simply don't get anything on my screen.
Thanks!
Compiling works fine the status said it's compiled successfully. I dont know how to check if there are link errors. Could you provide me with an example?
Thanks again for your help :)
Edit:
I...
Thank you for the answer. As I'm completely new to shaders, and the example didn't provide a fragment shader, could you give me a basic fragment shader?
Thanks, I appreciate it!
Edit:
I tried...
Hey guys,
For the last couple of days I got interested in Instanced Rendering. After some research and examples, I tried to do a little test myself.
I followed this guide:...
Thank you for your reply.
Is seems that I actually am not missing an argument in glNormalPointer, as this works fine with quads. Also, could you explain how the last parameter works?...
Hmm, I'm now switching the code from quads to triangles, but I simply can't get it to work.
Here is my vertex buffer:
private float[] buffer_data {
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f,...
Thank you for your answer. I'm gonna try to implement a few optimalisations.
Another quick question: can I remove faces in a VBO with glBufferSubData?
Hi all,
For the last few days I have worked on my first OpenGL test project. It's a simple voxel engine in Java with the LWJGL library. I used chunks, just like Minecraft. Those chunks are...