dilevin / computer-graphics-shader-pipeline

Computer Graphics Assignment about the Shader Pipeline
2 stars 5 forks source link

Shall we apply function composition in bump_height or bump_position? #19

Closed jwmaggiezhou closed 5 years ago

jwmaggiezhou commented 5 years ago

Like in proedural_color, all the scaling happens within the fragment shader, but for the bump part, are we allowed to manipulate the input in bump_height or bump_position or all the manipulation should also happen in bump.fs?

rarora7777 commented 5 years ago

You can perform these manipulations wherever you see fit. Any of those three is acceptable to us.