Mohido / BRDFA_Engine

A 3D engine for the purposes of analyzing different "Bidirectional Reflectance Distribution Function"s over environment maps.
GNU General Public License v3.0
1 stars 0 forks source link

Implement Shader iParameters #40

Closed Mohido closed 2 years ago

Mohido commented 2 years ago

This issue is regarding passing parameters from the object to the fragment shader. The parameters can be denoted with iParamters and we can have 'n' fixed parameters for each object. All the parameters are normalized floating points (from 0 to 1). I am thinking of having a total of 6 parameters in total. And they can be referenced within the BRDF shader code by iParameter0,... iParameter5.

Mohido commented 2 years ago

Done => Closing