Product Chat / cube map mask

Author
Message
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 8th Mar 2017 20:03
I have a model that i need reflection on the metal part not on the wooden part how can i mask cubemask so it effects only the metal?
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 8th Mar 2017 20:36
Mask out what you dont want to be shinny. use the entity_cubeambience.fx shader.
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.

Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 8th Mar 2017 21:19
with what i can mask it out what texture acts as a mask?
PM
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 8th Mar 2017 23:05
Hi @Team Wolf,
Preben said that we are always using the _D texture for cub map reflection - see this thread it also includes the kettle with an example of what you are trying to acheive.

Reliquia....
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM

Login to post a reply

Server time is: 2024-07-08 13:29:43
Your offset time is: 2024-07-08 13:29:43