Author Topic: Diffuse color and B&W .jpg's  (Read 746 times)

2017-09-11, 18:43:44

Noah45

  • Active Users
  • **
  • Posts: 429
  • press *1
    • View Profile
B&W .jpg's converted to CRN materials require diffuse color to be the actual (black) color. I only noticed because my B&W graphic was entirely white until I changed the diffuse color. Not sure if this is a bug or a feature, on one hand it requires and extra step for typical apps, but there is more flexibility to replace black.

DB 9/8 MAX2017
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2017-09-11, 20:38:42
Reply #1

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 3182
    • View Profile
Sorry, I don't understand what you mean - if I place a black and white JPG (which is still just a JPG) into the Diffuse slot of the Corona Material, it comes out black and white as expected regardless of the color set in the Diffuse for the Corona MTL. Are you doing something differently, perhaps using the JPG in the Opacity slot or similar?

2017-09-11, 21:44:26
Reply #2

Noah45

  • Active Users
  • **
  • Posts: 429
  • press *1
    • View Profile
Are you doing something differently, perhaps using the JPG in the Opacity slot or similar?

No, opacity slot null. I've never seen this issue, (ps. can make that background any color)
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2017-09-11, 21:53:52
Reply #3

PROH

  • Active Users
  • **
  • Posts: 1107
    • View Profile
How are the alpha settings in the bitmap loader?

2017-09-12, 00:56:18
Reply #4

Noah45

  • Active Users
  • **
  • Posts: 429
  • press *1
    • View Profile
PROH gets the cigar. Thanks, change from 'image alpha' to 'none', but since when does .jpg have alpha?
Retail Illustrator  (for ever' 80's )
3DMax 2020/Corona Version: 6DB

2017-09-12, 01:05:48
Reply #5

PROH

  • Active Users
  • **
  • Posts: 1107
    • View Profile
They don't. But Max can be set to read the RGB values as if it was an alpha channel. I think that's what happened in you case.

Glad it helped :)