←back to thread

218 points ahamez | 1 comments | | HN request time: 0.213s | source
Show context
phkahler ◴[] No.42728459[source]
Is there a standard OpenGL (ES3) shader I can drop in a GPLed application that uses a decent (is there a standard?) BRDF similar to Schlick with red,green,blue, and roughness?

I've wanted to add this capability to Solvespace for a while. I did my own implementation with the Fresnel term and it looked OK, but I want something "standard" and correct.

replies(5): >>42729134 #>>42730403 #>>42731800 #>>42734243 #>>42739761 #
1. TinkersW ◴[] No.42734243[source]
Even if you have a standard specular & diffuse model, indirect lighting is really important and you can't really just drop that into a shader.

If you want a standard I've go with OpenPBR, it is well documented and looks nice. Just skip the extra layers to begin with(fuzz/coat etc).