Hi guys ,
As you can see i've got a problem with the access to this 'override' option for gamma change.
I've tried to find something in 3dsmax manual first ,google it,but with no success.
Default gamma i'm using is 2.2.
There is a need to load normal maps and change it to gamma:1.0.Its a simple script to generate material and load the proper maps into it.
Fileingamma is working somehow ,but its not the way i want.Cause any transfer to different scene is giving result 2.2 again.
I've got an idea to create .mat file ,load it and then will get the right bitmap slots to the newmaterial .
Here is a part of the code :
for i = 1 to selection.count do
(
fileingamma = 1.0
local drifitPath = @"ThePath"
local normalFabric = drifitPath + "JPG name"
isDrifitFileExist = doesFileExist normalFabric
if (isDrifitFileExist == true)then
(
newmat.texmap_bump.normal_map.mapList[3] = Bitmaptexture filename:normalFabric
)
)
fileingamma = 2.2
So, would be great if you are more experienced in that.
Thanks in advice!
By riff-raff · 2018-05-24
miauu · 2018-05-25