textures = rootGraph:findNodes(octane.NT_TEX_IMAGE, true)
texture = textures[1]
if(texture ~= nil) then
print("Found")
texture:setAttribute(octane.A_TYPE,10)
texture:setAttribute(octane.A_RELOAD,true)
texture:evaluate()
print(texture:getAttribute(octane.A_TYPE))
end
texture:setAttribute(octane.A_CHANNEL_FORMAT, octane.imageChannelType.BC7_UNORM)
Users browsing this forum: No registered users and 13 guests