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 Classic Chat / Cube Mapping Problem Tier 1

Author
Message
Jukuma
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 19th Jan 2015 14:41 Edited at: 19th Jan 2015 14:42
Has anyone an idea how to use a cube map (skybox) with tier 1?

I tried it that way.

AGK Tier 1


Shader


The result is not good. See the picture below.
Have anyone a solution for the clipping problem or a other way to do this.

janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 19th Jan 2015 17:16 Edited at: 29th Jul 2017 16:01
Hello Jukuma,

For me, your example shader makes more strange things than you posted...
however... I came up with
...works for me ... (but I can sheck it better if you would provide your skybox)

Or just create 6 Objects ^^

[Edit]Standard Vertex Shader
[/Edit]

Using AGKv2 Tier1
Jukuma
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 20th Jan 2015 08:11
Thanks janbo! With a little change now it works perfect.

AGK T1


Skybox VS


Skybox PS


Attachments

Login to view attachments
Jukuma
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 20th Jan 2015 23:04 Edited at: 20th Jan 2015 23:05
Many thanks again to janbo!

Now we can do it also with a image from camera.

Environment mapping / Reflection mapping (T1)

Login to post a reply

Server time is: 2024-03-29 14:03:06
Your offset time is: 2024-03-29 14:03:06