Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: double sided material


...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
double sided material
Permalink  
 


hi mates ,

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^^

thx in advance



__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



Connoisseur of Bourbon!

Status: Offline
Posts: 2912
Date:
Permalink  
 

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

__________________

I like playing with stuff!



...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

thx a lot my friend...u are ...hm...encyclopedic!( on the engine side)...wink.gif

__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



...

Status: Offline
Posts: 4235
Date:
Permalink  
 

Hey cousin,

3 steps only,

- 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.



...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

thx stevie,i also did it this way for my flags materials, it was the "duplicate thing" that was bugging me wink.gif

__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



...

Status: Offline
Posts: 4235
Date:
Permalink  
 

LOL

Well cousin, which part is unclear so I can try to make it more simpler ?

__________________

Stevie's corner
A blog dedicated to UE4, UDK, UT99 / 2004 / III / 4.



...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

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 biggrin.gif

__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



...

Status: Offline
Posts: 4235
Date:
Permalink  
 

Well, all those character []()" are only to help you understand the syntax to type between them. They act as quote.

If you see the underscore character, the _ well that mean you must type it because an empty space won't have nothing, it's a blanck space.

The best advice I can tell you is copy/paste this line :

obj savepackage file=C:\Temp\ToDelete.pkg package=

& type the package you want to duplicate at the end like UN_Cave (yes the _ is required if my memory is correct).

For example, the full command line would be :

obj savepackage file=C:\Temp\ToDelete.pkg package=UN_Cave or
obj savepackage file=C:\Temp\ToDelete.pkg package=NEC_Walls or
obj savepackage file=C:\Temp\ToDelete.pkg package=LT_Walls

Remember to delete C:\Temp\ToDelete.pkg when you close the editor so your HDD don't keep those temp files.

__________________

Stevie's corner
A blog dedicated to UE4, UDK, UT99 / 2004 / III / 4.



...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

thx for the complementar explanations m8, more clear to my eyes now smile.gif

__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



Unreal Old Friend

Status: Offline
Posts: 60
Date:
Permalink  
 

Can I has a thread for DM-Insidious? I tested it, and would like to give some critics to the beta.

__________________
[Knowlage is power] Sinéad, for the first time, life is gonna turn around...


...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

Foufoune_Rose wrote:

Can I has a thread for DM-Insidious? I tested it, and would like to give some critics to the beta.


 done



 



__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop

Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard