| 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 shader; Bugs up the texture | |
|---|---|
| Tweet Topic Started: Apr 10 2009, 01:55 PM (279 Views) | |
| hepolite | Apr 10 2009, 01:55 PM Post #1 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
I wanted a waterfall in my game, so I looked up the scrolling texture shader. I copied the two files I downloaded from the shader list and assigned a material to this shader. It did work and I got my scrolling texture. But I noticed that something wasn't quite right: The shader bugged up the texture and some nasty lines appeared all over the texture. ![]() (The one-colored areas aren't UV-mapped yet) I don't know what I've done wrong. I have pixel shader model 1.4 and I loaded the shader through LoadMaterialEffect. Can it be just my computer (Vista) or does it happen to many other? |
![]() |
|
| skarik | Apr 10 2009, 06:03 PM Post #2 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Need to see your UV's and the Effect files if you have made any changes. |
| Blog|EHS | |
![]() |
|
| hepolite | Apr 10 2009, 06:19 PM Post #3 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
I don't think I'll be able to find the UV's, but I can add the model, if that's any help. It's an Anim8or file. UFX:
VSH:
|
![]() |
|
| skarik | Apr 10 2009, 06:29 PM Post #4 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Well, it has to be your model, but on the shader, you may want to change it to this:
|
| Blog|EHS | |
![]() |
|
| hepolite | Apr 10 2009, 09:39 PM Post #5 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
I checked the model, there's nothing wrong with the UV-mapping. I tried the code, but it didn't look like it did much. The texture is scrolling, but the UV's are screwed up. It could be my computer, though... |
![]() |
|
| skarik | Apr 10 2009, 09:53 PM Post #6 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Maybe. You never know these days. |
| Blog|EHS | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





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




terrain.zip (89.15 KB)
10:21 AM Jul 11