| 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: |
| Backgrounds; Spheres and cubes | |
|---|---|
| Tweet Topic Started: Dec 6 2007, 02:24 AM (162 Views) | |
| skarik | Dec 6 2007, 02:24 AM Post #1 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
That's something I'd like to know how it works. |
| Blog|EHS | |
![]() |
|
| Dr. Best | Dec 6 2007, 11:11 AM Post #2 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
MysteriXYZ came up with a similar problem in a PM yesterday. I will check this very soon. |
![]() |
|
| skarik | Dec 7 2007, 01:49 AM Post #3 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
All right. Please come with a solution soon!
Anyways, while I'm here, I have a 128,128,128 texture, but when I apply it via shader, it jumps a little above 128,128,128. A bit weird, but I have no idea what could cause it. This is ma shader:
As you can see, it's not very easy to screw this one up. There's no pixel shader, so that may be it, but I doubt anything in the default pixel thingy can change the texture color, right? (Funny how the earliest I can respond is 12 hours later, huh? Then again, it's a 12 hour time zone difference.) Edit: It seems to be my fog. Meh. I though the fog was vertex based? Meh. Edit: Sorry about the mehs. It's a habit from a friend. Edit: It seems that the fog is applied no matter what! This is very strange, yet useful in some cases. I'm going to have to do this the old fashioned way. (Now to change fog!) |
| Blog|EHS | |
![]() |
|
| Dr. Best | Dec 7 2007, 01:03 PM Post #4 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
If supported by the hardware Ultimate 3D uses per-pixel fog, which works independent from the vertex shader and leads to significantly better results than vertex fog. Ultimate 3D 2.1 will have some neat new features for drawing objects into the background (not having fog applied to them). |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)
. Calling UnloadBackground() will do nothing other than disabling the sky sphere and enabling the solid color. As you call LoadBackground(...) after that it will find the background texture in the texture container of Ultimate 3D and will take it from there instead of actually reloading it. I don't think doing this will lead to any noticeable slowdown (should be somewhere around 0.01 milliseconds per frame
).



9:37 PM Jul 11