- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I’m new to maxscritpt, and I have a problem with gamma while loading Bitmaptexture
I want to create a VrayMaterial and connect desired bitmap textures to certain channels with gamma overrides for certain channels, or leave "Automatic" gamma if needed. Or maybe after creation and connecting a bitmap I want to change gamma values for all bitmaps in scene with certain pattern (diffuse - Automatic, glossiness - 1.0, Normal Map 1.0 and so on... ) How I can access to gamma?
for example I have a such code:
meditMaterials[activeMeditSlot] = VRayMtl ()
mat = meditMaterials[activeMeditSlot]
mat.texmap_diffuse = Bitmaptexture fileName:"d:\\text.png"It creates a Vray material, Bitmap Texture and connects it to a diffuse material slot. And it makes gamma "Automatic". But I didn't find a way to set it for example 1.0.
I think t’s not a new question, maybe it was described in other topics, but I didn’t find it.
Can anybody help me please?...
Solved! Go to Solution.
