Author Topic: CShading_SourceColor  (Read 481 times)

2023-03-11, 23:16:19

unicorn

  • Users
  • *
  • Posts: 3
    • View Profile
Hello,

Any help is appreciated.

Is there a way in corona that I can render an element which is the same color as the texture? without any effects. In V-ray I can easily get this via Vray-Diffuse filter.

I Tried using CShading_Source color but the color is different.


2023-03-12, 10:19:14
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8829
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hi,

It's a gamma thing - render elements are displayed in linear and you're comparing it to image with applied gamma curve. You need to save the cshading source element to disk and then compare it to source material. And when i say source material, i mean an image on the disk and not what's displayed in the viewport.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-03-12, 18:37:58
Reply #2

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
In Corona the shadig element includes diffuse color plus shading normal while the other one displays diffuse color only. I believe this is a long standing request, not implemented so far.

2023-03-12, 22:26:41
Reply #3

dj_buckley

  • Active Users
  • **
  • Posts: 873
    • View Profile

2023-05-02, 21:07:40
Reply #4

unicorn

  • Users
  • *
  • Posts: 3
    • View Profile
Hello,
Thanks, romullus I think it's working. It seems that in the frame buffer the color is different but the moment I saved it as .exr and open the file with alpha channel I can get the result that I wanted now.



Thank you.