Keeping PS Layer Mode Data? (Overlay/Multiply) - Photoshop)

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Keeping PS Layer Mode Data? (Overlay/Multiply) - Photoshop)

#1 Post by crimsonnight » Fri Apr 29, 2016 6:44 am

*EDITED*

Hey team,

For one of my upcoming VNs, we're using layered, animated backgrounds. The way they work is that filters are layered on top of a group background layers to create the desired look. Due to the background elements/layers being randomised within Ren'Py (using the 'choice' command) and containing transparency, I can't flatten/rasterize the layers before exporting.

So my question is, is there a way to export the layers from within Photoshop in a way that keeps the layer mode data (as they are set to overlay/multiply), so that the end result within Ren'Py looks the same as the complete Photoshop file?

Thanks!
Last edited by crimsonnight on Fri Apr 29, 2016 7:04 am, edited 6 times in total.
alwaysthesamebluesky.com

drKlauz
Veteran
Posts: 237
Joined: Mon Oct 12, 2015 3:04 pm
Contact:

Re: Keeping Translucency Values? (Layered Artwork - Photosho

#2 Post by drKlauz » Fri Apr 29, 2016 6:47 am

If you saving as PNG-8bit then i think photoshop not saving alpha range, only transparent/opaque. Try "Export for web..."->"PNG-24"

P.S.: Result files will be large tho, if you really concerned about size, developing for mobiles or something, you can do something like opaque jpeg for image and grayscale jpeg for alpha channel, then combine during load.
Last edited by drKlauz on Fri Apr 29, 2016 6:50 am, edited 1 time in total.

crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Re: Keeping Translucency Values? (Layered Artwork - Photosho

#3 Post by crimsonnight » Fri Apr 29, 2016 6:49 am

drKlauz wrote:If you saving as PNG-8bit then i think photoshop not saving alpha range, only transparent/opaque. Try "Export for web..."->"PNG-24"
I already tried that, no luck :(

*EDIT* Sorry, just checked, the layers have 100% opacity, but I guess the brushes the artist I'm working with has used are not set to 100% opacity.
alwaysthesamebluesky.com

drKlauz
Veteran
Posts: 237
Joined: Mon Oct 12, 2015 3:04 pm
Contact:

Re: Keeping Translucency Values? (Layered Artwork - Photosho

#4 Post by drKlauz » Fri Apr 29, 2016 6:55 am

Hm... Not sure really, maybe you need rasterize layer before exporting, some filters not applied or w/e, hard to tell without sample psd.

crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Re: Keeping Translucency Values? (Layered Artwork - Photosho

#5 Post by crimsonnight » Fri Apr 29, 2016 7:00 am

drKlauz wrote:Hm... Not sure really, maybe you need rasterize layer before exporting, some filters not applied or w/e, hard to tell without sample psd.
Sorry, I've just spoken to my artist, it turns out I have my question slightly wrong, I'm going to go back and edit the first post according, but, I need to export the layers in a way that keeps the layer mode data as they are set to overlay/multiply.
alwaysthesamebluesky.com

drKlauz
Veteran
Posts: 237
Joined: Mon Oct 12, 2015 3:04 pm
Contact:

Re: Keeping PS Layer Mode Data? (Overlay/Multiply) - Photosh

#6 Post by drKlauz » Fri Apr 29, 2016 7:09 am

If you want PNG as result, you have to rasterize layer i believe. PNG contain only pixels (R8G8B8+Alpha8). Maybe you can make RenPy apply desired mode to image when displaying, but you can't save it in PNG itself.
I may be available for hire, check my thread: viewtopic.php?f=66&t=51350

User avatar
DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

Re: Keeping PS Layer Mode Data? (Overlay/Multiply) - Photosh

#7 Post by DragoonHP » Fri Apr 29, 2016 7:43 am

So my question is, is there a way to export the layers from within Photoshop in a way that keeps the layer mode data (as they are set to overlay/multiply), so that the end result within Ren'Py looks the same as the complete Photoshop file?
No, there is no such way. You will have to layer them manually.

crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Re: Keeping PS Layer Mode Data? (Overlay/Multiply) - Photosh

#8 Post by crimsonnight » Mon May 02, 2016 4:36 am

Ok, cheers for letting me know guys... I think we'll approach them differently going forwards
alwaysthesamebluesky.com

Post Reply

Who is online

Users browsing this forum: Google [Bot]