Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Weird swapping with parralax and bumpmap; not that important, but...
Topic Started: Mar 5 2009, 10:38 PM (217 Views)
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
For some reason when I apply bumpmapping, the colors of light 2 and 3 are swapped. How did I find this out? Well, I defined an object called pointlight2. In pointlight2 i set the color to r=256, g=0 b=0 and in the Step set its xyz to the camera. Then I defined an object pointlight3. I set its color to r=0, g=0 b=256. I put in its keyboard hit space event to go to the cam's xyz position. Strangely, when I ran the game, pointlight1 worked good (its color was yellow), but for some reason the closer to each wall I got, the walls were getting bluer, instead of red. It was like pointlight2 had the color of pointlight3. When I clicked space the walls got redder (instead of blue.)
Edited by Eansis, Mar 5 2009, 10:39 PM.
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
Thanks for the information. It is most certainly swapped temporary registers in the pixel shaders. Happens easily with the assembler language. I have added this to my list of bug fixes for the next minor version of Ultimate 3D.
Offline Profile Quote Post Goto Top
 
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
Dr. Best
Mar 5 2009, 11:05 PM
Thanks for the information. It is most certainly swapped temporary registers in the pixel shaders. Happens easily with the assembler language. I have added this to my list of bug fixes for the next minor version of Ultimate 3D.
cool :thumb_up:
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Oh, that explains the lights in Stickman.
Blog|EHS
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply