Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Normal/disp maps

Author
Message
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 5th Jul 2017 15:50
Am I missing a step? I am adding norm and/or disp maps, but my image looks exactly the same.

I am just using the setobjectimage command and setting the texture for each.
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 5th Jul 2017 23:18 Edited at: 5th Jul 2017 23:24
After further research it seems AppGameKit does not support that? I'm not sure what the texture stages mean....

I was able to use Blendman's normal shaders, and works like a charm(well, besides the displacement maps, but that can wait until another project).

Thanks, Blendman!
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 7th Jul 2017 01:55
AGK doesn't do normal mapping automatically. You will still need to use a shader to use those other images you load into texture stages

If you don't know what stages means, then think of it like slots you can load images into to use them later in shaders.
You still need to setObjectImage() the images into the different stages (slots) so that they are available to the shader
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 10th Jul 2017 00:58
Ahh, thanks Nzo!

Login to post a reply

Server time is: 2024-11-22 16:19:41
Your offset time is: 2024-11-22 16:19:41