| 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: |
| object without light | |
|---|---|
| Tweet Topic Started: Dec 9 2007, 09:31 PM (195 Views) | |
| Mauro | Dec 9 2007, 09:31 PM Post #1 |
|
DirectX - WinAPI Programmer
![]() ![]() ![]() ![]() ![]() ![]()
|
i want an object COMPLETY and ALWAYS white, but for the light i see it grey... how i can adjust this? |
| Programming c++ and directx | |
![]() |
|
| MysteriXYZ | Dec 9 2007, 09:39 PM Post #2 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
If you do not want the texture of an object to be influenced by any light sources, use the following code; for a primitive object:
for a model object:
|
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Dr. Best | Dec 9 2007, 09:40 PM Post #3 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use emissive lighting, just like this:
Edit: This forum must be heaven, a place where mods contest, who answers a question first .
|
![]() |
|
| Mauro | Dec 9 2007, 09:41 PM Post #4 |
|
DirectX - WinAPI Programmer
![]() ![]() ![]() ![]() ![]() ![]()
|
thank's again MysteriXYZ! ![]() EDIT: Also dr.best
|
| Programming c++ and directx | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)



.
9:37 PM Jul 11