Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 30 Aug 2012
Offline Last Active Jan 10 2016 07:32 AM

Posts I've Made

In Topic: Common way to save terrain data

27 December 2012 - 02:29 PM

I would use heightmaps. You can edit them with an image editor, or easily in your own editor by manipulating the image data directly. I would suggest you to use 16bit image data because you will have smoother surfaces. You can also generate lightmaps with these heightmap. You dont have to load the whole image at once, you could split it into chunks and then load them individually.


In Topic: Going crazy - 3D at GL 3.2 doesnt work

12 December 2012 - 04:16 AM

Omg, thanks...
Now im getting GL error 1282 (Invalid operation). But only if i use the matrices for gl_Position in my shader (gl_Position = m4Proj*(m4Model*m4View)*vec4(v3Pos, 1.0);). There is no error then i set gl_Position to vec4(v3Pos, 1.0f).