Texture in Viewport Issue

   2107   4   0
User Avatar
Member
169 posts
Joined: April 2014
Offline
If I load a texture map in a shader, the viewport stays stuck with that texture map… no matter if I remove the texture, change it, switch on “use base color” and deselect “use map”…

No matter what I do it becomes stuck until I close H and restart the scene OR delete the whole shader and put another one in.

Clearing the cache doesn't help either.

Is this a GL issue?

Thank you
Winter is coming!
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
The texture used by the viewport is specified by the ‘Texture Layer’' parameter set found in the OpenGL tab of the shader. My guess is that its channel expression is not taking ‘use map’ into account, or that somehow the channel expression is being broken. Without a hip file it's hard to diagnose, though.
User Avatar
Member
169 posts
Joined: April 2014
Offline
twod
The texture used by the viewport is specified by the ‘Texture Layer’' parameter set found in the OpenGL tab of the shader. My guess is that its channel expression is not taking ‘use map’ into account, or that somehow the channel expression is being broken. Without a hip file it's hard to diagnose, though.

Here's the file.

The Texture Layers is pointing towards `chs(“baseColorMap”)`

I can force it to refresh it by deleting a letter and then typing it back but it's annoying.

Attachments:
untitled.hipnc (2.3 MB)

Winter is coming!
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
Oh, if you're changing the texture image file, then you'll want to do Render > Update Textures to get the updated version.
User Avatar
Member
169 posts
Joined: April 2014
Offline
twod
Oh, if you're changing the texture image file, then you'll want to do Render > Update Textures to get the updated version.

Nope - does not work. Just tried it right now.

After running Render > Update Textures viewport is the same (in my case stuck on a texture map even though I've disabled it and chose Use Base Color.

My viewport still shows the texture.
Winter is coming!
  • Quick Links