| 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: |
| Scrolling Texture. | |
|---|---|
| Tweet Topic Started: Sep 15 2007, 01:59 AM (445 Views) | |
| Zedman3d | Sep 15 2007, 01:59 AM Post #1 |
![]()
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
How do i make a texture scroll across a model? |
| |
![]() |
|
| LaserLemon | Sep 15 2007, 10:13 AM Post #2 |
![]()
Sir
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I don't think there's compatibility for that yet... |
![]() Formerly known as FaTaL_N00B. | |
![]() |
|
| Dr. Best | Sep 15 2007, 12:46 PM Post #3 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
That can be done easily through a simple vertex shader. I've once posted one in the game graphics section, that does exactly this, but I can't find it ATM. So here's a rewritten version of it
.*.ufx file:
*.vsh file:
Probably there's a typo in it somewhere. Just let me know if so. |
![]() |
|
| Zedman3d | Sep 16 2007, 12:41 AM Post #4 |
![]()
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Dam it. I wanted to keep anything needing a pixel shader out for the basic things for max compatibility.... o well. |
| |
![]() |
|
| Dr. Best | Sep 16 2007, 01:19 PM Post #5 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
This does not need a pixel shader, it needs exceptionally a vertex shader and for that reason it is supported on absolutely every PC that supports Ultimate 3D
.
|
![]() |
|
| skarik | Sep 17 2007, 03:26 AM Post #6 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Can't you do it using the model modifying functions? That's how I was planning to do the fading clouds in my game. |
| Blog|EHS | |
![]() |
|
| Dr. Best | Sep 17 2007, 02:16 PM Post #7 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Yes, you can, but the use of the above vertex shader is a lot more efficient. |
![]() |
|
| harkathmaker | Sep 17 2007, 05:34 PM Post #8 |
|
Persistent Enquirer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So only pixel shaders are possibly incompatible? That makes me happy
|
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |






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





.
.
2:35 AM Jul 11