GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2011-Mar-16

Title: hi, how make a bump map, on mobile Devices
Post by: mentalthink on 2011-Mar-16
Hi I try, to make a bump map on a simple Geometry.
On Pc runs very well, is equal if you apply a normal map or a bump map (white and black image)...
But in devices mobiles don´t works, I try whit the command loadbump, and load sprite, but not succes.

You can use normal map or bump map, but how I say on mobiles devices don´t works, I try on iPad, and Palm Pre, perhaps is trouble of the image because is in mode .png, but in .bmp, the same texture is really big in KB.

Kind Regards,
Iván J.
Title: Re: hi, how make a bump map, on mobile Devices
Post by: Kitty Hello on 2011-Mar-17
The bump mapping extension might not be supported on these devices. I have to see if I can get it implemented.
Title: Re: hi, how make a bump map, on mobile Devices
Post by: mentalthink on 2011-Mar-17
Ok, Gernoot, but making a shader this can be do, not?¿.

A question, only for information, the supported devices for glbasic, uses Open GLES, is HLSL the shader lenguage for OPENGL, or HLSL is for directX, so, yesterday I read in some pages and I stay a little confusing about this.

Another suggestion Gernoot, is... if you make a command for bump(normal map) on devices, you can add a command for Specular channel, because, I stay looking for make this, but directly whitout shaders I don´t occur any idea for make this.

Thanks for the info, Gernoot.

Kind Regards
Iván J.
Title: Re: hi, how make a bump map, on mobile Devices
Post by: Kitty Hello on 2011-Mar-17
OK, I will try to add material parameters.
So far you can use the OpenGL wrapper to enable that.
Title: Re: hi, how make a bump map, on mobile Devices
Post by: mentalthink on 2011-Mar-17
ok, Gernoot thanks so much.
Kinds Regards,
Iván J