currently working on a DM-Insidious remake i have a simple problem/question:
i found a nice "grid" material in the deimos package but no luck it s one sided material only
what is the simplest way to duplicate (& modify) this material to add the "doublesided" property to it?
i tryed to follow steves tuto on "how to duplicate epic content" but hell it s fraqn complex to get such a simple change haha...if i can spare some time while not duplicating the whole package^^
Find the material you want and open it in the material editor. Highlight all the material functions and press CTRL+C to copy them. Leave the material window open.(you'll soon need to copy the settings/properties) Next create a new material in your map package and open the material. Press CTRL+P to paste the material functions from the original. Re-attach the functions to the main material function panel as they are in the original material. Next tick in the "grey space" so NO material functions are highlighted. Set everything as the original is(mainly lighting stuff) except the doublesided option which you can now enable.
As this map will run within UT3 you can use the above method as your material will still have working access to any textures that the material functions require. eg.. Look at the "Texture Sample" functions in the material. You'll see paths in the Texture Sample properties that point to the stock packages!
However...if you were being a bad boy and were going to use UT3 assets then eventually import your map into UDK then you'd need to follow Steves method as the base textures for the material would need to be duplicated into your map file so the material functions can call to the textures within your map package rather than the UT3 stock packages which don't exist in UDK.
-- Edited by Lord_PorkSword on Wednesday 1st of June 2011 01:40:48 AM
- Duplicate the material in your map package (as you already done). - Open the material editor of your new material, just activate the function "TwoSided" as show. - Save the changes.
That's it ;)
PS: it's a example of my glass mat in Citius.
__________________
Stevie's corner A blog dedicated to UE4, UDK, UT99 / 2004 / III / 4.
the typing part lol with the [ ....] if u can use an example with a real material...dont laugh! i m never sure if i should add thoses "[" kind of thing + the spaces...but promise i ll do soon a serious test because it s very interressant in fact i m lazy and surbooked but i want to finish my maps...yeah all my maps...lol....if i can stop starting new ones...insidious is the last one..if possible