Home Forums Games202-高质量实时渲染 [作业2]在web里显示不出来。。。

Viewing 1 reply thread
  • Author
    Posts
    • #8372 Score: 0
      Tecomo
      Participant

      我把LT和LR, LG, LB都传到shader里,并作了如下计算:
      r = dot(lt[0], LR[0]) + dot(lt[1], LG[0]) + dot(lt[2], LB[0]);
      b = .. 同上
      g = .. 同上

      然后varying传到fragmentshader里面显示,但是显示的效果是下面这样的,请问是什么问题?

      Attachments:
      You must be logged in to view attached files.
    • #8374 Score: 0
      Tecomo
      Participant

      不用回了。是自己脑残。。。。算法没问题。。。

Viewing 1 reply thread
  • You must be logged in to reply to this topic.