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.

AppGameKit/AppGameKit Studio Showcase / RT Environment Mapping Tech Demo [AGK2/T1]

Author
Message
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 26th Apr 2015 23:28 Edited at: 27th Apr 2015 15:30
Realtime Environment Mapping Tech Demo



Download Demo: https://www.dropbox.com/s/7ev9ztyqoti3y0l/environment.zip?dl=0


.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Apr 2015 09:52
Simply superb! Thanks for sharing!!

Using AppGameKit V2 Tier 1
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Apr 2015 14:47
Nice!

I have a need to have a reflective floor. Is it possible to use this to make a floor reflection? I don't want a mirror effect, just a subtle addition to the floor texture.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 27th Apr 2015 16:01
Yes this works also. You need a cam position for rendering on the
X an Z position of the screen cam. The Y position must below the
floor. Do not forget the FOV and the aspect ratio of the cam.
Render it to a image for the second texture stage. The first stage
is your main texture the second is the reflection of the cam image.
Define this out of the main loop before. The next step is a shader
for better results.
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 28th Apr 2015 00:53 Edited at: 28th Apr 2015 01:08
Reflective Floor Test



Download Demo: https://www.dropbox.com/s/y32ywac8qc3beid/reflective.zip?dl=0


.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 29th Apr 2015 04:14
I like it!

Cheers,
Ancient Lady
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 29th Apr 2015 14:14
Thanks for the reflection demo, I will try it on my scene shortly

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Pawprints
13
Years of Service
User Offline
Joined: 11th Oct 2011
Location:
Posted: 30th Apr 2015 21:17
Great work

I'm currently trying to get normal maps lighting correctly on a series of planes but without much luck. I'm the first to admit that shaders go above my head and I guess each shader is created with a purpose in mind like reflection, lighting, cell shading etc?

I like the idea of adding extra depth to planes using a normal map generator such as sprite illuminator to add depth to your flat graphics. In 2D it works a treat but getting the desired effect in 3D is more tricky (at least for me).

I do look forward to seeing what is planned when it comes to the 3D command set and whether normalising will be supported off the bat considering you can actually set normal maps using the set object image command.

If it's not broken don't keep trying to fix it.

Attachments

Login to view attachments
Pawprints
13
Years of Service
User Offline
Joined: 11th Oct 2011
Location:
Posted: 30th Apr 2015 21:21
Great work

I\'m currently trying to get normal maps lighting correctly on a series of planes but without much luck. I\'m the first to admit that shaders go above my head and I guess each shader is created with a purpose in mind like reflection, lighting, cell shading etc?

I like the idea of adding extra depth to planes using a normal map generator such as sprite illuminator to add depth to your flat graphics. In 2D it works a treat but getting the desired effect in 3D is more tricky (at least for me).

I do look forward to seeing what is planned when it comes to the 3D command set and whether normalising will be supported off the bat considering you can actually set normal maps using the set object image command.

If it's not broken don't keep trying to fix it.
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 1st May 2015 04:46
RT Dual Paraboloid Environment Mapping



Download Demo: https://www.dropbox.com/s/282zgdtf93jln9r/paraboloid.zip?dl=0


.
addseo
9
Years of Service
User Offline
Joined: 29th Apr 2015
Location:
Posted: 1st May 2015 10:29
Thanks for sharing.

Login to post a reply

Server time is: 2024-11-24 19:24:36
Your offset time is: 2024-11-24 19:24:36