hi i have 2 question and i wish someone help me can any one tell me how can i make a mirror with c script ? "i was see mirror sample in AUM . in this sample i shoud make another room and make alpha=30 or low the betweens. but now i wanna make a mirror texture" can i do this ?
my 2th question : in my game i make a view. can i use this view as a texture for a mdl object in my room ?
hey my freind can you tell me more abaut render to texture?
i mean > i wanna have A cod that i can use a view as a texture. and a cod for have a mirror texture in my room. is it possible with c-script and SED? is there any cod in SED that do this ?
SED is just a script editor for c-script, therefore it won't have its own commands.
I'm not going to explain the full process, but basically you use a view, a clip plane, the shader I just posted in the Shaders section (textureToScreen), and a little bit of simple math and vector rotations. Then you'll have a crystal clear mirror!
Render to texture feature will be available in A7 Commercial. Mirror such as in Pro is very slow. You can take the fake mirror solution from AUM in this case.
Re: I have a Question
[Re: D3D]
#131093 06/07/0705:5906/07/0705:59
create camera_1 looking at you front of the wall camera_1.bmap = bmap_for_entity(entity,0); //view will be showing at this entity so you will se yourself and everything behind you(mirror) but you have to have pro version