Hello mates!
I’m new to the forums, read my introductions here if you like: My introduction post
So first shader, first problem - first post, here goes!
I’ve been playing around with some basic HLSL and I’ve figured out how to apply textures to shaders - not very complicated I was pleasantly surprised to find out. And I’m using 3ds max to preview my shaders, very nice! But there was one problem - the UVs was all messed up! :?: But when I applied the same texture with a standard material it showed up perfectly, no problem with the UV channel or anything. So I worked around with the UVW unwrap a little and I found a solution to the problem. I offset the all the UVs downwards by one UV-space and the texture fitted like a glove! Observe though that it ONLY worked if I moved them downwards, no other direction worked. Here is an image that illustrate the problem as well as the solution.
So, it isn’t really a problem here I guess since I did find a solution. But I would like to know why this is happening - any suggestions?
Cheers mates!