Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I want to make Reflection Effect on my control. I found some resource for it.

1-) Basic Illumination Model in C#[^]
2-) http://unitycoder.com/blog/2013/04/07/basic-illumination-model-c/[^]

I want to make control on above link. I wonder, How can do this? Thanks for answer.
Posted
Comments
Sergey Alexandrovich Kryukov 16-Aug-13 11:12am    
What's the problem? Doesn't the article referenced first contain all the source code. If it does, what's the problem?
—SA

Please see my comment to the question.

If you have some other problem, ask the author. Load the page of the article, locate "Comments and Discussions" at the end and click "Add a Comment or Question" to ask your questions. Or click here: http://www.codeproject.com/script/Forums/Edit.aspx?fid=442654&floc=/Articles/19767/Basic-Illumination-Model-in-C[^]. The author will get a notification and a chance to reply.

However, I suggest you study the article and source code in advance, and make your request clear enough.

—SA
 
Share this answer
 
v2
Image Reflection[^]

I think that's what you want. On your control, after its drawn use the DrawToBitmap method to get a bitmap, then use the above code to create the reflection effect.
 
Share this answer
 
Comments
Umut Comlekcioglu 16-Aug-13 12:09pm    
No, This isnt what i want. Please check the link http://www.codeproject.com/Articles/19767/Basic-Illumination-Model-in-C...

I want to do exactly this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900