If this is your first visit, be sure to check out the FAQ by clicking the link above. You have to register before you can post.

If you have recently signed up, please make sure you log in so that your activity is registered. This is required for automatic promotions to work and to ensure your account is not deleted during the registration process.

AthenaOfDelphi

Moderation Process Reminder

Since this appears to be a problem, please be aware that some areas of the site are moderated. When you post to these areas, you will be told that your post is awaiting moderation.

You will not be able to see posts that you have made that are waiting to be moderated.

Do not think that because your post has not appeared that an error has occurred. If this happens an error message will be displayed (you should note this and report it in the 'Site News/Feedback' forum.

Shader help

Hi!

I have a water shader where I've added a cloudy texture to simulate reflections.
It works well as it follows the camera, but when I turn the camera the texture follows the rotation.
How can I stop the rotation?

It works well as it follows the camera, but when I turn the camera the texture follows the rotation.

To me it seems that it doesn't works well at all. To me the cloud reflection didn't seem correct at any point in the video. But then again it is hard to se properly because you are already combining it with wave effects.
So my suggestion is that you temporary remove waves so that you have smooth water surface on which you can clearly see if reflection of the cloud is as it needs to be. Only when you make reflection work correctly should you add waves back.

Any way I don't have much experience with shaders but looking at your shader code I can't seem to figure out where are you feeding the information about camera orientation in.