Texture mapping on top of sprites and background?

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
User avatar
VNQuality
Regular
Posts: 54
Joined: Tue Jan 07, 2014 12:51 am
Location: Russian Federation (Вообще-то Украина:)
Contact:

Texture mapping on top of sprites and background?

#1 Post by VNQuality »

Texture mapping on top of sprites and background?
I dunno.
I want to apply some texture to the image. In theory it should be in the "overlay". I don't want to applied directly on the image.

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Texture mapping on top of sprites and background?

#2 Post by SundownKid »

If you want to put a texture atop the game you will need to define a new layer and then show the texture on that layer.

User avatar
VNQuality
Regular
Posts: 54
Joined: Tue Jan 07, 2014 12:51 am
Location: Russian Federation (Вообще-то Украина:)
Contact:

Re: Texture mapping on top of sprites and background?

#3 Post by VNQuality »

SundownKid wrote:If you want to put a texture atop the game you will need to define a new layer and then show the texture on that layer.
But in this case it will be like a normal picture. Just over the image, but not in the "overlay." It's that so?

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Texture mapping on top of sprites and background?

#4 Post by SundownKid »

You can make the image transparent so that the texture looks overlaid on it.

User avatar
VNQuality
Regular
Posts: 54
Joined: Tue Jan 07, 2014 12:51 am
Location: Russian Federation (Вообще-то Украина:)
Contact:

Re: Texture mapping on top of sprites and background?

#5 Post by VNQuality »

SundownKid wrote:You can make the image transparent so that the texture looks overlaid on it.
Okay, I'll try it. But I feel that as a result i have to be impose a texture directly on the backgrounds and sprites.

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Texture mapping on top of sprites and background?

#6 Post by SundownKid »

There may be some way to blend it differently, I'm not sure how. Additive blending maybe?

User avatar
VNQuality
Regular
Posts: 54
Joined: Tue Jan 07, 2014 12:51 am
Location: Russian Federation (Вообще-то Украина:)
Contact:

Re: Texture mapping on top of sprites and background?

#7 Post by VNQuality »

SundownKid wrote:There may be some way to blend it differently, I'm not sure how. Additive blending maybe?
Perhaps. I will check that. Everything was started in order to be able to change the texture depending of the narrative tension...

Post Reply

Who is online

Users browsing this forum: No registered users