How to get light to shine through a texture

User avatar
horusra
Petty Officer First Class
Posts: 70
Joined: 02 Feb 2010, 13:09
Type the number ten into the box: 0
Location: Appleton, Wisconsin. U.S.A.

How to get light to shine through a texture

Post by horusra »

This applies to TS 7.61 beta 8;

I've made clear glass before and light shines through just fine, however.......

ok, I've got a stained glass window texture and I cannot seem to get light to shine through it. I've studied my past work, scenes, where I've made glass, Ive tried to do the same, but no light shining through. al help greatly appreciated.

oh, p.s., I'm using a "plane" of course for the stained glass window.

Rob
User avatar
MikomDude
Captain
Posts: 1930
Joined: 04 Oct 2010, 11:12
Type the number ten into the box: 0
Location: The Hague, Netherlands

Re: How to get light to shine through a texture

Post by MikomDude »

Allow me to contribute absolutely nothing useful to this by only saying: I'm wondering about this as well. Can it even be done?
User avatar
horusra
Petty Officer First Class
Posts: 70
Joined: 02 Feb 2010, 13:09
Type the number ten into the box: 0
Location: Appleton, Wisconsin. U.S.A.

Re: How to get light to shine through a texture

Post by horusra »

MikomDude wrote:Allow me to contribute absolutely nothing useful to this by only saying: I'm wondering about this as well. Can it even be done?
hehe. Thats ok.
However, I could have swore I've done this before and I was right. This is what you do (what I did):

Material Editor:
a. your stained glass texture.
b. Plain Transparency. (Obviously you don't need much at all, cause stained glass is not very see through).
c. Reflectance: Glass.

Plane where texture is applied to:
Object Properties>Render Options:
a. Cast Shadows OFF (unchecked)
b. Receive Shadows ON or OFF. It made no difference.

when light is placed outside the room and in front and above the window, light shines through as if its sunny or moon-light outside
depending upon Intensity setting. Add some volumetrics for effect. :)


Rob
User avatar
MikomDude
Captain
Posts: 1930
Joined: 04 Oct 2010, 11:12
Type the number ten into the box: 0
Location: The Hague, Netherlands

Re: How to get light to shine through a texture

Post by MikomDude »

Yeah that's about the only way I have ever managed to get a similar effect as well. Anywho, it's not like trueSpace has an up-to-date render engine anyway.
User avatar
Finis
Captain
Posts: 5410
Joined: 21 May 2009, 18:26
Type the number ten into the box: 0
Location: America!

Re: How to get light to shine through a texture

Post by Finis »

On TS model side:

Set at least one light to transparent shadows.

To project the stained glass pattern (if it is a color texture) leave cast shadows on for the object.

Don't know about workspace.
Last edited by Finis on 06 Jun 2013, 19:02, edited 1 time in total.
I prefer dangerous freedom over peaceful servitude. -- Thomas Jefferson/Jean Jacques Rousseau
User avatar
spacekdet
Captain
Posts: 1810
Joined: 27 May 2009, 15:00
Type the number ten into the box: 10
Location: On the day shift at the Utility Muffin Research Kitchen

Re: How to get light to shine through a texture

Post by spacekdet »

I know how w/ VRay or in Model w/ Lightworks but not sure how you'd do it using DX/realtime.

I fiddled around with it but no DX joy. Dunno how you guys can work with that Material Editor.

Just occurred to me, maybe you could fake it with a projector light.
User avatar
Draise
Captain
Posts: 3200
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia

Re: How to get light to shine through a texture

Post by Draise »

Yes, with the realtime DX shaders, you can only get some cool caustics or transparency from a projector light and it's projected texture. It's a small game engine work-around, as nothing will calculate caustics in realtime. If I remember clearly, the transparency Z layering also is a bit strange (gradient alpha on gradient alpha will jump back and forth over each other), I think this is a DirectX9 issue.

Return to “General Discussion”