Jump to content
Developer Wiki and Function Reference Links ×

OpenGL update after modifying texture


JBenghiat

Recommended Posts

Is there a way to get OpenGL to reflect an edit made to a shader record?  Currently, changes apply as expected to Renderworks, but for OpenGL, I need to open OpenGL settings and change Detail, Use colors, or Use textures and OpenGL resets.  Changing render modes doesn't make a difference — OpenGL will read the previous texture definition until I toggle a setting.

 

So far I've tried:

 

objTexture.ResetObject();

objTexture.UpdateThumbnailPreview();

 

NotifyAnyStuff notification(kNotifyMaterialChange);

gSDK->Kludge(kKludgeNotifyAny, &notification, nil);

 

gSDK->RefreshRenderingForSelectedObjects();

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...