rendering with gamma 2.2
-
irakli_san
- Posts: 29
- Joined: 03 Jul 2009, 12:18
rendering with gamma 2.2
always wanted to ask. rendering with gamma set to 2.2 what will give better more correct result adding inverse gamma (.455) before shader (e.g. texture map, diffuse color) or after? i believe that if you put gamma after shader than all other things like reflection, transparency will be affected by gamma.
You do not have the required permissions to view the files attached to this post.
-
Rork
- Posts: 1359
- Joined: 09 Jul 2009, 06:59
- Location: Close to The Hague, Netherlands
Re: rendering with gamma 2.2
Since version 7 all this is very simple to set up in the preferences. There's a lot of info on this on the forum or xsibase.
rob
rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!
So long, and thanks for all the Fish!!
-
Jesse
- Posts: 30
- Joined: 18 Jun 2009, 19:51
Re: rendering with gamma 2.2
Rork wrote:Since version 7 all this is very simple to set up in the preferences. There's a lot of info on this on the forum or xsibase.
rob
This ^^^
But to add a bit, the gamma correction for the image is found under the adjust tab of the image clip.
To directly answer your question the gamma correct should happen at the image not at the shader I believe.
-
Mathaeus
- Posts: 1778
- Joined: 08 Jun 2009, 19:11
- Location: Zagreb, Croatia
Re: rendering with gamma 2.2
If you really want to go in this way, you can try it with Ray Type shader, or some of mip_rayswitches. So, *in theory*, you put the first gamma correction for your diffuse input, and second after your shader - and all that only in 'primary ray' port. For anything else (reflection, refraction, FG....) , put a copy of your shader that has no any before-after correction.irakli_san wrote:always wanted to ask. rendering with gamma set to 2.2 what will give better more correct result adding inverse gamma (.455) before shader (e.g. texture map, diffuse color) or after? i believe that if you put gamma after shader than all other things like reflection, transparency will be affected by gamma.
Of course, do some tests, using more than just one shader with this setup...
-
zossowosso
- Posts: 81
- Joined: 05 Sep 2009, 04:18
Re: rendering with gamma 2.2
'ERROR : 2011 - Unable to write well in English [CLSID\{F123FC55-ABD9-4D7F-9CDD-7F9D61E71FFE}] : %SUMATRAPATH%\ English.dll not found'
-
Rork
- Posts: 1359
- Joined: 09 Jul 2009, 06:59
- Location: Close to The Hague, Netherlands
Re: rendering with gamma 2.2
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!
So long, and thanks for all the Fish!!
-
irakli_san
- Posts: 29
- Joined: 03 Jul 2009, 12:18
-
Falam
Re: rendering with gamma 2.2
Mathaeus, what do you mean use a RayType shader ?Mathaeus wrote:If you really want to go in this way, you can try it with Ray Type shader, or some of mip_rayswitches. So, *in theory*, you put the first gamma correction for your diffuse input, and second after your shader - and all that only in 'primary ray' port. For anything else (reflection, refraction, FG....) , put a copy of your shader that has no any before-after correction.irakli_san wrote:always wanted to ask. rendering with gamma set to 2.2 what will give better more correct result adding inverse gamma (.455) before shader (e.g. texture map, diffuse color) or after? i believe that if you put gamma after shader than all other things like reflection, transparency will be affected by gamma.
Of course, do some tests, using more than just one shader with this setup...
I have an issue that I very stupidly did. I have quite a few images in my scene and some are linear and some are not. Without going into Ps and doing this all manually I was hoping I could convert the Gamma 2.2 images to Gamma 1.0 then when the scene renders they automatically convert back to Gamma 2.2 ? I remember a thread on XSI Base about procedural textures and gamma, I did some searching and read that procedurals are always Gamma 1.0, I thought to myself, nah that can't be. Without searching for the answer, I decided to render a grid with a procedural, load it in Ps, and presto it wasn't Gamma 2.2 it was Gamma 1.0, I was right
One thing that I'm not completely sure on, I'm going to lean towards applying a Color Correction node after a procedural not before, logically you would want to convert the procedural to Gamma 1.0 after in the flow, then before, can someone verify this, I couldn't seem to pull this answer from this thread ?
Another thing what about Scalar procedurals, is there a better way to convert them to Gamma 1.0 rather then convert scalar to color then back to scalar ?
-
Mathaeus
- Posts: 1778
- Joined: 08 Jun 2009, 19:11
- Location: Zagreb, Croatia
Re: rendering with gamma 2.2
Exactly this shader, under "switch" preset folder. Anyway, I think I've already mentioned, that usage of this shader for getting the effect of linear workflow at shader level, it is partial solution. It could make more troubles instead of positive effect. Simply because linear output is not performed at shader level, it's performed after interaction of all shaders in scene. If I were you, I'd just forget my post in this thread.Falam wrote: Mathaeus, what do you mean use a RayType shader ?