Use the new cube shaders in your FPE file.
The shaders have defines, and includes in them pointing to module codes of shaders.Example:
#define USECUBEMAPPING
#include "entity_basic.fx"
The above statements do this. Call technique USECUBEMAPPING in this shader. entity_basic.fx
I am sure there is a bit more to it then this, but if you use these shaders below in your fpe file Then the right process will be sorted out by the Game Guru engine.
entity_cube.fx
entity_cubealpha.fx
entity_cubeambience.fx
Quote: "
cube_basic.fx or entity_cube.fx , will mix in evenly diffuse and cube reflection. transparency is supported , so this one will be great for floors with little reflections.
cube2_basic.fx or entity_cubealpha.fx, will mix in cube reflection based on alpha , lower alpha means more cube reflection, this one will work out of the box on default media that have glass/windows and mix this in using the same texture, so your windows will get reflection but not areas with no alpha. this also support transparency. So you could lay a transparent plane above your “road” to simulate a puddle, and it would look like water
cube3_basic.fx or entity_cubeambience.fx , will allow you to make really reflecting object like metal/mirrors … it also support cube reflection using the alpha as a reflection mask , so if you put 255 in the alpha you get a mirror only cube reflection is displayed, if you put 0 in alpha only diffuse is displayed. using 128 in alpha will mix evenly. This could be used to make a “wet” look , if you have a road texture you could set the alpha to around 80 and your road will get some cube reflection and the surface will look wet. this one don’t allow transparency as the alpha is used as a cube reflection mask.
"
All referenced in this post. (Please read all the last page of this thread for better understanding.)
https://forum.game-guru.com/thread/217310?page=2#msg2572768
Alpha channel goes into the specular texture _S.dds and save as dxt5 compression.
As always you can email me your files to test if you are having troubles.
myke1net@hotmail.com
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.