Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] MatCap Shader in AGK

Author
Message
Nieb
10
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 11th Nov 2017 22:31 Edited at: 13th Nov 2017 04:01
Attached is an example project demonstrating a MatCap shader. Enjoy!

Thank you TheSnidr & Blendman for the shader code!



I've found 2 examples of a MatCap shader. However it appears the shaders are not in the VS PS format.
I have no experience with OpenGL shader stuff. So with that said I am willing to pay someone $100 USD [or more?] [via PayPal] to implement one or both [for comparison] of these into an example project in AGK. [attached]

Example: https://www.clicktorelease.com/code/spherical-environment-mapping/
Source: https://github.com/spite/spherical-environment-mapping

Example: http://hughsk.io/matcap/
Source: https://github.com/hughsk/matcap


Keywords: MatCap, Material Capture, Spherical Environment Mapping, LitSphere, Shader, "AGK", AppGameKit

Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 12th Nov 2017 10:21 Edited at: 13th Nov 2017 06:50
This post has been marked by the post author as the answer.
Hi
in the shader community thread, I have send an example for an environment mapping.
I use matcap with that shader, and it works :
https://forum.thegamecreators.com/thread/214598#msg2573839

Tell me if you have some matters
AGK2 tier1 - http://www.dracaena-studio.com
Nieb
10
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 13th Nov 2017 01:47
Hey, that's exactly what I was looking for.
Thanks a lot!
basicFanatic
7
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 13th Nov 2017 10:23
It works! Super nice! I attached my home-made matcap textures, free to use, no restrictions:

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-24 06:14:24
Your offset time is: 2024-11-24 06:14:24