Game Development Community

beta3 bug? Trans-Blend uses sun object only

by Steve Acaster · in Torque 3D Professional · 07/01/2009 (12:41 pm) · 3 replies

I've a semi-transparent yellow glass texture.

I'm using a transparent blend (add), specular (16), not double-sided. However I can only see the yellow glass at an angle facing the sun - even though the sun has brightness 0 (well zero-ish), eg: casting no light and the whole level is not exposed to any direct sunlight (sun object is just there for ambient value). The side facing away from the sun is completely invisible and looks like a hole in the wall.

The texture only gets specular shine and thus visibility from the sun and not lights. The visible glass and spec moves around with the sun position if I change it. Beyond a 90 degree angle, no spec, glass texture. With no sun object at all, it lights as though the sun was at azimuth=180.

farm4.static.flickr.com/3614/3679501920_d649f87f8c_o.jpg
Also a pic with emmisive on, just for fun.

Apologies if all of this is in hand, I can't quite remember if translucent blend got fixed from previous beta issues.

#1
07/01/2009 (1:44 pm)
Ah this is related to some other issues, however, in general, translucent objects will not ever be subject to deferred lighting (at least in DX9). We are working on supporting lights besides the sun for forward shading, however, and that will be a big boost to the visual appearance of translucent objects.
#2
07/01/2009 (3:01 pm)
Okidokee.
It doesn't look too bad using emissive to be honest, only real difference is that the spec/shine doesn't move with the player, and that's hardly a big thing.
#3
07/01/2009 (3:19 pm)
It will look much better by release. It looks really strange right now to mix translucent objects in with non translucent objects in areas with lights.