Wings 3D Development Forum
Any way to invert greys given by AMBIENT OCCLUSION? - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Interface & Usage (https://www.wings3d.com/forum/forumdisplay.php?fid=3)
+--- Thread: Any way to invert greys given by AMBIENT OCCLUSION? (/showthread.php?tid=902)



Any way to invert greys given by AMBIENT OCCLUSION? - ggaliens - 10-09-2014

Any way to invert greys given by AMBIENT OCCLUSION?

I would like to invert the baked in colors ... maybe without hacking the code.


RE: Any way to invert greys given by AMBIENT OCCLUSION? - micheus - 10-09-2014

I'm not sure I understood your question...
- If you are talking about use a different colour to the white one, then just change the Ambient light color;
- If that "invert grays" means swap the white and black, I think the only way is using a external program;
- if you want mix the OC and objects colours, then I think you can put some colour in your object, UV map it using the option vertex color when creating the texture - make it external. Then, apply OC and create the texture again. You can make it external using another name and mix them using PS or Gimp. Or, if you want only see the textured colour and OC overlapped in the screen you just need to change colored texture material and set the Vertex Color to Multiply.


RE: Any way to invert greys given by AMBIENT OCCLUSION? - ggaliens - 10-10-2014

Just meant like below. I wrote the invert function real quick so I would have it.
Would be nice to have on the standard menu dealing with materials and colors.

Code:
{R2, G2, B2} = {1.0-R1, 1.0-G1, 1.0-B1}



RE: Any way to invert greys given by AMBIENT OCCLUSION? - micheus - 10-10-2014

And that would be useful for ...
I didn't see/read any post about an use for this kind of colour schema.(in anywhere). Is there one?


RE: Any way to invert greys given by AMBIENT OCCLUSION? - ggaliens - 10-11-2014

Why does GIMP offer and invert / negative ?

Because it is awesome.


RE: Any way to invert greys given by AMBIENT OCCLUSION? - micheus - 10-11-2014

(10-11-2014, 03:37 AM)ggaliens Wrote: Because it is awesome.
That is why you can use it for that - like I had suggested.
As I was thinking there is no real use for that in the traditional 3D "world". It works better being a plugin.


RE: Any way to invert greys given by AMBIENT OCCLUSION? - ggaliens - 10-12-2014

I'm not going to use it like that. I'm going to use it built in ... because I don't always have GIMP installed. And this is about inverting on a MESH . Gimp won't invert vertex colors on a mesh. I think it would even have applications with tweaking perhaps a terrain map.


RE: Any way to invert greys given by AMBIENT OCCLUSION? - blackbee0045 - 11-04-2014

Why does GIMP offer and invert / negative ?


RE: Any way to invert greys given by AMBIENT OCCLUSION? - ggaliens - 11-04-2014

Because it is awesome.