Game Development

Game development and other polite discussion. Game development...
Aug 27, 2015 09:12
So basically i can pass array of int in vertex shader and opengl will make it float internally?
Aug 27, 2015 09:11
@MartinSojka so what do you recommend? how should i proceed?
Aug 27, 2015 09:07
I have already a heightmap in .bmp. and I have array of pixel parsed from it. I just want to feed those data in vertex shader without any texture, effects. Just plain boring single colored terrain.
Aug 27, 2015 09:03
I want to do something practical before moving forward
Aug 27, 2015 09:03
I am just learning opengl. I am not sure what you are asking. I am following opengl superbible and I am not yet reached textures.
Aug 27, 2015 08:56
data of heightmaps are in int. how should it feed the data in vertex shader? should it process the heightmap value to float or it should be left to opengl to handle the normalization?