who wrote the song sunshine of your love
Pete Brown.
Sunshine of Your Love
Music writers Covach and Boone describe the riff as blues-derived, which uses a minor blues pentatonic scale with an added flattened fifth note (or common blues scale). The song follows a blues chord progression (I–IV–I) during the first eight bars. Brown had a difficult time writing lyrics that fit the riff. After an all-night session, Bruce played it on a standup bass while lyricist Pete Brown was staring out the window. Slowly, he started to write "It's getting near dawn and lights close their tired eyes", which is used in the first verse. Later, to break up the rhythm, Clapton wrote a refrain which also yielded the song's title. It consists of eight-bar sections using three chords, when the key shifts to the V chord (I = V):

wiki:20341016
Sunshine of Your Love [SEP] Composition
In early 1967, Cream were writing and rehearsing songs for their second album. Their December 1966 debut album, "Fresh Cream", was a mix of updated blues numbers and pop-oriented rock songs. Inspired by recent developments in rock music, they began pursuing a more overtly psychedelic direction. "Sunshine of Your Love" began as a bass phrase or riff developed by Cream bassist Jack Bruce. Cream attended a concert on 29 January 1967 by the Jimi Hendrix Experience at the Saville Theatre in London. Cream guitarist Eric Clapton elaborated in a 1988 "Rolling Stone" magazine interview: Music writers Covach and Boone describe the riff as blues-derived, which uses a minor blues pentatonic scale with an added flattened fifth note (or common blues scale).