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.

Dark GDK / {GDK2.0] Evolved's NormalMapping problem

Author
Message
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 13th Jul 2012 02:37 Edited at: 13th Jul 2012 02:38
Here are two images using Evolved's NormalMapping.fx. The top one was done in GDK1.0 and the bottom in 2.0. Why is there smooth self-shadowing in 1.0 and not in 2.0?

Do I need to use another shader for 2.0?
Is there something in 2.0 that needs to be set to make this work correctly that 1.0 didn't need?

The fastest code is the code never written.

Attachments

Login to view attachments
silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 13th Jul 2012 14:48
maybe your Vector for lightPosition.

Can you post your GDK2.0 code?
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 13th Jul 2012 14:50
It's large already. I can post the part for positioning:


The fastest code is the code never written.
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 13th Jul 2012 22:29
Fixed. It was my oversight. There are 3 parameters before I put in my ID.... Duh!

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-11-19 00:43:02
Your offset time is: 2024-11-19 00:43:02